本文整理了Java中htsjdk.samtools.util.Log.emit()
方法的一些代码示例,展示了Log.emit()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Log.emit()
方法的具体详情如下:
包路径:htsjdk.samtools.util.Log
类名称:Log
方法名:emit
[英]Private method that does the actual printing of messages to a PrintWriter. Outputs the log level, class name and parts followed by the stack trace if a throwable is provided.
[中]将消息实际打印到PrintWriter的私有方法。如果提供了throwable,则输出日志级别、类名和后跟堆栈跟踪的部分。
代码示例来源:origin: com.github.samtools/htsjdk
/**
* Logs a Throwable and optional message parts at level error.
* @param throwable an instance of Throwable that should be logged with stack trace
* @param messageParts zero or more objects which should be combined, by calling toString()
* to form the log message.
*/
public final void error(final Throwable throwable, final Object... messageParts) {
emit(LogLevel.ERROR, throwable, messageParts);
}
代码示例来源:origin: com.github.samtools/htsjdk
/**
* Logs a Throwable and optional message parts at level warn.
* @param throwable an instance of Throwable that should be logged with stack trace
* @param messageParts zero or more objects which should be combined, by calling toString()
* to form the log message.
*/
public final void warn(final Throwable throwable, final Object... messageParts) {
emit(LogLevel.WARNING, throwable, messageParts);
}
代码示例来源:origin: com.github.samtools/htsjdk
/**
* Logs a Throwable and optional message parts at level debug.
* @param throwable an instance of Throwable that should be logged with stack trace
* @param messageParts zero or more objects which should be combined, by calling toString()
* to form the log message.
*/
public final void debug(final Throwable throwable, final Object... messageParts) {
emit(LogLevel.DEBUG, throwable, messageParts);
}
代码示例来源:origin: com.github.samtools/htsjdk
/**
* Logs one or more message parts at level info.
* @param messageParts one or more objects which should be combined, by calling toString()
* to form the log message.
*/
public final void info(final Object... messageParts) {
emit(LogLevel.INFO, null, messageParts);
}
代码示例来源:origin: org.seqdoop/htsjdk
/**
* Logs one or more message parts at level warn.
* @param messageParts one or more objects which should be combined, by calling toString()
* to form the log message.
*/
public final void warn(final Object... messageParts) {
emit(LogLevel.WARNING, null, messageParts);
}
代码示例来源:origin: samtools/htsjdk
/**
* Logs a Throwable and optional message parts at level error.
* @param throwable an instance of Throwable that should be logged with stack trace
* @param messageParts zero or more objects which should be combined, by calling toString()
* to form the log message.
*/
public final void error(final Throwable throwable, final Object... messageParts) {
emit(LogLevel.ERROR, throwable, messageParts);
}
代码示例来源:origin: samtools/htsjdk
/**
* Logs a Throwable and optional message parts at level warn.
* @param throwable an instance of Throwable that should be logged with stack trace
* @param messageParts zero or more objects which should be combined, by calling toString()
* to form the log message.
*/
public final void warn(final Throwable throwable, final Object... messageParts) {
emit(LogLevel.WARNING, throwable, messageParts);
}
代码示例来源:origin: samtools/htsjdk
/**
* Logs a Throwable and optional message parts at level debug.
* @param throwable an instance of Throwable that should be logged with stack trace
* @param messageParts zero or more objects which should be combined, by calling toString()
* to form the log message.
*/
public final void debug(final Throwable throwable, final Object... messageParts) {
emit(LogLevel.DEBUG, throwable, messageParts);
}
代码示例来源:origin: samtools/htsjdk
/**
* Logs one or more message parts at level warn.
* @param messageParts one or more objects which should be combined, by calling toString()
* to form the log message.
*/
public final void warn(final Object... messageParts) {
emit(LogLevel.WARNING, null, messageParts);
}
代码示例来源:origin: org.seqdoop/htsjdk
/**
* Logs one or more message parts at level debug.
* @param messageParts one or more objects which should be combined, by calling toString()
* to form the log message.
*/
public final void debug(final Object... messageParts) {
emit(LogLevel.DEBUG, null, messageParts);
}
}
代码示例来源:origin: com.github.samtools/htsjdk
/**
* Logs one or more message parts at level debug.
* @param messageParts one or more objects which should be combined, by calling toString()
* to form the log message.
*/
public final void debug(final Object... messageParts) {
emit(LogLevel.DEBUG, null, messageParts);
}
}
代码示例来源:origin: org.seqdoop/htsjdk
/**
* Logs a Throwable and optional message parts at level error.
* @param throwable an instance of Throwable that should be logged with stack trace
* @param messageParts zero or more objects which should be combined, by calling toString()
* to form the log message.
*/
public final void error(final Throwable throwable, final Object... messageParts) {
emit(LogLevel.ERROR, throwable, messageParts);
}
代码示例来源:origin: org.seqdoop/htsjdk
/**
* Logs one or more message parts at level info.
* @param messageParts one or more objects which should be combined, by calling toString()
* to form the log message.
*/
public final void info(final Object... messageParts) {
emit(LogLevel.INFO, null, messageParts);
}
代码示例来源:origin: samtools/htsjdk
/**
* Logs a Throwable and optional message parts at level info.
* @param throwable an instance of Throwable that should be logged with stack trace
* @param messageParts zero or more objects which should be combined, by calling toString()
* to form the log message.
*/
public final void info(final Throwable throwable, final Object... messageParts) {
emit(LogLevel.INFO, throwable, messageParts);
}
代码示例来源:origin: samtools/htsjdk
/**
* Logs one or more message parts at level error.
* @param messageParts one or more objects which should be combined, by calling toString()
* to form the log message.
*/
public final void error(final Object... messageParts) {
emit(LogLevel.ERROR, null, messageParts);
}
代码示例来源:origin: org.seqdoop/htsjdk
/**
* Logs a Throwable and optional message parts at level info.
* @param throwable an instance of Throwable that should be logged with stack trace
* @param messageParts zero or more objects which should be combined, by calling toString()
* to form the log message.
*/
public final void info(final Throwable throwable, final Object... messageParts) {
emit(LogLevel.INFO, throwable, messageParts);
}
代码示例来源:origin: org.seqdoop/htsjdk
/**
* Logs one or more message parts at level error.
* @param messageParts one or more objects which should be combined, by calling toString()
* to form the log message.
*/
public final void error(final Object... messageParts) {
emit(LogLevel.ERROR, null, messageParts);
}
代码示例来源:origin: samtools/htsjdk
/**
* Logs one or more message parts at level info.
* @param messageParts one or more objects which should be combined, by calling toString()
* to form the log message.
*/
public final void info(final Object... messageParts) {
emit(LogLevel.INFO, null, messageParts);
}
代码示例来源:origin: samtools/htsjdk
/**
* Logs one or more message parts at level debug.
* @param messageParts one or more objects which should be combined, by calling toString()
* to form the log message.
*/
public final void debug(final Object... messageParts) {
emit(LogLevel.DEBUG, null, messageParts);
}
}
代码示例来源:origin: com.github.samtools/htsjdk
/**
* Logs one or more message parts at level warn.
* @param messageParts one or more objects which should be combined, by calling toString()
* to form the log message.
*/
public final void warn(final Object... messageParts) {
emit(LogLevel.WARNING, null, messageParts);
}
内容来源于网络,如有侵权,请联系作者删除!