public class JavaUtilLogBackend extends Object implements LogBackend
| Modifier and Type | Class and Description |
|---|---|
static class |
JavaUtilLogBackend.JavaUtilLogBackendFactory
Factory for generating JavaUtilLogBackend instances.
|
| Constructor and Description |
|---|
JavaUtilLogBackend(String className) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isLevelEnabled(Level level)
Returns true if the log level argument is enabled meaning that the log messages should be shown.
|
void |
log(Level level,
String msg)
Log a message.
|
void |
log(Level level,
String msg,
Throwable throwable)
Log a message with a throwable which is guaranteed to not be null.
|
public JavaUtilLogBackend(String className)
public boolean isLevelEnabled(Level level)
LogBackendisLevelEnabled in interface LogBackendpublic void log(Level level, String msg)
LogBackendlog in interface LogBackendpublic void log(Level level, String msg, Throwable throwable)
LogBackendlog in interface LogBackendThis documentation is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.