public class JavaSormulaLogger extends java.lang.Object implements SormulaLogger
SormulaLogger
that logs using java.util.logging Logger
.Constructor and Description |
---|
JavaSormulaLogger(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
debug(java.lang.String message)
Logs
Level.FINE level. |
void |
error(java.lang.String message)
Logs
Level.SEVERE level. |
void |
error(java.lang.String message,
java.lang.Throwable throwable)
Logs
Level.SEVERE level. |
void |
info(java.lang.String message)
Logs informational message.
|
boolean |
isDebugEnabled()
Reports when messages are logged with
SormulaLogger.debug(String) . |
public void info(java.lang.String message)
SormulaLogger
info
in interface SormulaLogger
message
- message to logpublic void debug(java.lang.String message)
Level.FINE
level.debug
in interface SormulaLogger
message
- message to logpublic void error(java.lang.String message)
Level.SEVERE
level.error
in interface SormulaLogger
message
- message to logpublic void error(java.lang.String message, java.lang.Throwable throwable)
Level.SEVERE
level.error
in interface SormulaLogger
message
- message to logthrowable
- error/exception causepublic boolean isDebugEnabled()
SormulaLogger
SormulaLogger.debug(String)
.isDebugEnabled
in interface SormulaLogger
Level.FINE
is enabled.