jodd.log
Class ConsoleLog
java.lang.Object
jodd.log.Log
jodd.log.ConsoleLog
public class ConsoleLog
- extends Log
Simple logger that outputs to console.
| Fields inherited from class jodd.log.Log |
name |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logLevel
protected ConsoleLog.Level logLevel
ConsoleLog
public ConsoleLog(java.lang.String name,
ConsoleLog.Level logLevel)
getFactory
public static LogFactory getFactory(ConsoleLog.Level currentLevel)
- Returns log factory that creates
ConsoleLog instances.
isTraceEnabled
public boolean isTraceEnabled()
- Specified by:
isTraceEnabled in class Log
trace
public void trace(java.lang.String message)
- Specified by:
trace in class Log
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabled in class Log
debug
public void debug(java.lang.String message)
- Specified by:
debug in class Log
isInfoEnabled
public boolean isInfoEnabled()
- Specified by:
isInfoEnabled in class Log
info
public void info(java.lang.String message)
- Specified by:
info in class Log
isWarnEnabled
public boolean isWarnEnabled()
- Specified by:
isWarnEnabled in class Log
warn
public void warn(java.lang.String message)
- Specified by:
warn in class Log
warn
public void warn(java.lang.String message,
java.lang.Throwable throwable)
- Specified by:
warn in class Log
isErrorEnabled
public boolean isErrorEnabled()
- Specified by:
isErrorEnabled in class Log
error
public void error(java.lang.String message)
- Specified by:
error in class Log
error
public void error(java.lang.String message,
java.lang.Throwable throwable)
- Specified by:
error in class Log
Copyright © 2003-2012 Jodd Team