public class LoggingHelper
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
LOGLEVEL_SUFFIX
the environment variable suffix of the log level to look for.
|
| Constructor and Description |
|---|
LoggingHelper() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.logging.Level |
getLevel(java.lang.Class cls)
Returns the log level for the specified class.
|
static java.util.logging.Level |
getLevel(java.lang.Class cls,
java.util.logging.Level defLevel)
Returns the log level for the specified class.
|
public static final java.lang.String LOGLEVEL_SUFFIX
public static java.util.logging.Level getLevel(java.lang.Class cls)
cls - the class to return the debug level forpublic static java.util.logging.Level getLevel(java.lang.Class cls,
java.util.logging.Level defLevel)
cls - the class to return the debug level fordefLevel - the default level to useCopyright © 2021 University of Waikato, Hamilton, NZ. All Rights Reserved.