org.rythmengine.logger
Class JDKLogger
java.lang.Object
org.rythmengine.logger.JDKLogger
- All Implemented Interfaces:
- ILogger
public class JDKLogger
- extends Object
- implements ILogger
A JDK logger implementation
Method Summary |
void |
debug(String msg,
Object... arg)
|
void |
debug(Throwable t,
String msg,
Object... arg)
|
void |
error(String format,
Object... arg)
|
void |
error(Throwable t,
String msg,
Object... arg)
|
void |
info(String msg,
Object... arg)
|
void |
info(Throwable t,
String msg,
Object... arg)
|
boolean |
isDebugEnabled()
|
boolean |
isErrorEnabled()
|
boolean |
isInfoEnabled()
|
boolean |
isTraceEnabled()
|
boolean |
isWarnEnabled()
|
protected void |
log(Level l,
String m,
Object... a)
|
protected void |
log(Level l,
Throwable t,
String m,
Object... a)
|
void |
trace(String msg,
Object... arg)
|
void |
trace(Throwable t,
String msg,
Object... arg)
|
void |
warn(String msg,
Object... arg)
|
void |
warn(Throwable t,
String format,
Object... arg)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final Logger logger
className
protected final String className
JDKLogger
public JDKLogger(Class c)
isTraceEnabled
public boolean isTraceEnabled()
- Specified by:
isTraceEnabled
in interface ILogger
trace
public void trace(String msg,
Object... arg)
- Specified by:
trace
in interface ILogger
trace
public void trace(Throwable t,
String msg,
Object... arg)
- Specified by:
trace
in interface ILogger
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabled
in interface ILogger
debug
public void debug(String msg,
Object... arg)
- Specified by:
debug
in interface ILogger
debug
public void debug(Throwable t,
String msg,
Object... arg)
- Specified by:
debug
in interface ILogger
isInfoEnabled
public boolean isInfoEnabled()
- Specified by:
isInfoEnabled
in interface ILogger
info
public void info(String msg,
Object... arg)
- Specified by:
info
in interface ILogger
info
public void info(Throwable t,
String msg,
Object... arg)
- Specified by:
info
in interface ILogger
isWarnEnabled
public boolean isWarnEnabled()
- Specified by:
isWarnEnabled
in interface ILogger
warn
public void warn(String msg,
Object... arg)
- Specified by:
warn
in interface ILogger
warn
public void warn(Throwable t,
String format,
Object... arg)
- Specified by:
warn
in interface ILogger
isErrorEnabled
public boolean isErrorEnabled()
- Specified by:
isErrorEnabled
in interface ILogger
error
public void error(String format,
Object... arg)
- Specified by:
error
in interface ILogger
error
public void error(Throwable t,
String msg,
Object... arg)
- Specified by:
error
in interface ILogger
log
protected void log(Level l,
Throwable t,
String m,
Object... a)
log
protected void log(Level l,
String m,
Object... a)
Copyright © 2013. All Rights Reserved.