org.granite.logging
Class Log4jLogger
java.lang.Object
org.granite.logging.Logger
org.granite.logging.Log4jLogger
public class Log4jLogger
- extends Logger
- Author:
- Franck WOLFF
|
Method Summary |
void |
debug(String message,
Object... args)
|
void |
debug(Throwable t,
String message,
Object... args)
|
void |
error(String message,
Object... args)
|
void |
error(Throwable t,
String message,
Object... args)
|
void |
fatal(String message,
Object... args)
|
void |
fatal(Throwable t,
String message,
Object... args)
|
protected Logger |
getLoggerImpl()
|
void |
info(String message,
Object... args)
|
void |
info(Throwable t,
String message,
Object... args)
|
boolean |
isDebugEnabled()
|
boolean |
isErrorEnabled()
|
boolean |
isFatalEnabled()
|
boolean |
isInfoEnabled()
|
boolean |
isTraceEnabled()
|
boolean |
isWarnEnabled()
|
void |
setLevel(Level level)
|
void |
trace(String message,
Object... args)
|
void |
trace(Throwable t,
String message,
Object... args)
|
void |
warn(String message,
Object... args)
|
void |
warn(Throwable t,
String message,
Object... args)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Log4jLogger
public Log4jLogger(String name,
LoggingFormatter formatter)
getLoggerImpl
protected Logger getLoggerImpl()
- Overrides:
getLoggerImpl in class Logger
info
public void info(String message,
Object... args)
- Specified by:
info in class Logger
info
public void info(Throwable t,
String message,
Object... args)
- Specified by:
info in class Logger
trace
public void trace(String message,
Object... args)
- Specified by:
trace in class Logger
trace
public void trace(Throwable t,
String message,
Object... args)
- Specified by:
trace in class Logger
warn
public void warn(String message,
Object... args)
- Specified by:
warn in class Logger
warn
public void warn(Throwable t,
String message,
Object... args)
- Specified by:
warn in class Logger
debug
public void debug(String message,
Object... args)
- Specified by:
debug in class Logger
debug
public void debug(Throwable t,
String message,
Object... args)
- Specified by:
debug in class Logger
error
public void error(String message,
Object... args)
- Specified by:
error in class Logger
error
public void error(Throwable t,
String message,
Object... args)
- Specified by:
error in class Logger
fatal
public void fatal(String message,
Object... args)
- Specified by:
fatal in class Logger
fatal
public void fatal(Throwable t,
String message,
Object... args)
- Specified by:
fatal in class Logger
setLevel
public void setLevel(Level level)
- Specified by:
setLevel in class Logger
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabled in class Logger
isErrorEnabled
public boolean isErrorEnabled()
- Specified by:
isErrorEnabled in class Logger
isFatalEnabled
public boolean isFatalEnabled()
- Specified by:
isFatalEnabled in class Logger
isInfoEnabled
public boolean isInfoEnabled()
- Specified by:
isInfoEnabled in class Logger
isTraceEnabled
public boolean isTraceEnabled()
- Specified by:
isTraceEnabled in class Logger
isWarnEnabled
public boolean isWarnEnabled()
- Specified by:
isWarnEnabled in class Logger