class BasicLogger extends java.lang.Object implements FsmLogger
Modifier and Type | Field and Description |
---|---|
static FsmLogger |
instance
The class instance.
|
Modifier | Constructor and Description |
---|---|
private |
BasicLogger()
Forbid creating objects.
|
Modifier and Type | Method and Description |
---|---|
void |
debug(java.lang.String message)
Log a debug message.
|
void |
debug(java.lang.String message,
java.lang.Throwable throwable)
Log a debug message.
|
void |
error(java.lang.String message)
Log an error message.
|
void |
error(java.lang.String message,
java.lang.Throwable throwable)
Log an error message.
|
void |
fatal(java.lang.String message)
Log a fatal message.
|
void |
fatal(java.lang.String message,
java.lang.Throwable throwable)
Log a fatal message.
|
java.lang.String |
getName()
Get name of the logger.
|
void |
info(java.lang.String message)
Log an info message.
|
void |
info(java.lang.String message,
java.lang.Throwable throwable)
Log an info message.
|
boolean |
isDebugEnabled()
Get status of debug messages logging in this logger.
|
boolean |
isInfoEnabled()
Get status of info messages logging in this logger.
|
boolean |
isTraceEnabled()
Get status of trace messages logging in this logger.
|
void |
trace(java.lang.String message)
Log a trace message.
|
void |
trace(java.lang.String message,
java.lang.Throwable throwable)
Log a trace message.
|
void |
warn(java.lang.String message)
Log a warning message.
|
void |
warn(java.lang.String message,
java.lang.Throwable throwable)
Log a warning message.
|
public static final FsmLogger instance
public java.lang.String getName()
FsmLogger
public void fatal(java.lang.String message)
FsmLogger
public void fatal(java.lang.String message, java.lang.Throwable throwable)
FsmLogger
public void error(java.lang.String message)
FsmLogger
public void error(java.lang.String message, java.lang.Throwable throwable)
FsmLogger
public void warn(java.lang.String message)
FsmLogger
public void warn(java.lang.String message, java.lang.Throwable throwable)
FsmLogger
public void info(java.lang.String message)
FsmLogger
public void info(java.lang.String message, java.lang.Throwable throwable)
FsmLogger
public void debug(java.lang.String message)
FsmLogger
public void debug(java.lang.String message, java.lang.Throwable throwable)
FsmLogger
public void trace(java.lang.String message)
FsmLogger
public void trace(java.lang.String message, java.lang.Throwable throwable)
FsmLogger
public boolean isInfoEnabled()
FsmLogger
isInfoEnabled
in interface FsmLogger
public boolean isDebugEnabled()
FsmLogger
isDebugEnabled
in interface FsmLogger
public boolean isTraceEnabled()
FsmLogger
isTraceEnabled
in interface FsmLogger
Copyright 2013 Michal Turek, AnotherFSM.