public final class LogUtils extends Object
Constructor and Description |
---|
LogUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
configureJdkLogging(Level level)
Setup the JDK root and global handlers to use our formatter and
sets the level for the handlers to the passed in level.
|
static void |
configureJdkLoggingFromProperty()
Setup the JDK root and global handlers to use our formatter and
sets the level for the handlers based on the value of the
JDK_LOG_LEVEL_PROP_KEY property. |
static String |
getJdkLogState()
Returns a multi-line string representing the current state of
the JDK logger (loggers, handlers and formatters).
|
public static void configureJdkLogging(Level level)
level
- log levelpublic static void configureJdkLoggingFromProperty()
JDK_LOG_LEVEL_PROP_KEY
property.public static String getJdkLogState()
Copyright © 2015. All Rights Reserved.