public class LoggingHelper
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
LOGLEVEL_SUFFIX |
the environment variable suffix of the log level to look for.
|
| Constructor | Description |
|---|---|
LoggingHelper() |
| Modifier and Type | Method | 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 © 2018 University of Waikato, Hamilton, NZ. All Rights Reserved.