public class LoggingUtils
extends java.lang.Object
Constructor and Description |
---|
LoggingUtils() |
Modifier and Type | Method and Description |
---|---|
static org.apache.logging.log4j.Level |
levelToLog4jLevel(htsjdk.samtools.util.Log.LogLevel picardLevel)
Converts a picard log level to a log4j log level.
|
static void |
setLoggingLevel(htsjdk.samtools.util.Log.LogLevel verbosity)
Propagate the verbosity level to Picard, log4j, the java built in logger, and Kryo's MinLog
|
public static org.apache.logging.log4j.Level levelToLog4jLevel(htsjdk.samtools.util.Log.LogLevel picardLevel)
picardLevel
- Picard Log.LogLevel
to convert to a Log4J Level
.Level
that corresponds to the given picardLevel
.public static void setLoggingLevel(htsjdk.samtools.util.Log.LogLevel verbosity)