Package com.bw.jtools.log
Class ConsoleLogger
- java.lang.Object
-
- com.bw.jtools.Log.LoggerFacade
-
- com.bw.jtools.log.ConsoleLogger
-
public class ConsoleLogger extends Log.LoggerFacade
Implementation Log.LoggerFacade used as fallback in case no logger framework is available.
-
-
Field Summary
-
Fields inherited from class com.bw.jtools.Log.LoggerFacade
DEBUG_PREFIX, ERROR_PREFIX, INFO_PREFIX, level, maxStackTraceLines, UNKNW_PREFIX, WARN_PREFIX
-
-
Constructor Summary
Constructors Constructor Description ConsoleLogger()
-
Method Summary
-
Methods inherited from class com.bw.jtools.Log.LoggerFacade
debug, error, getLevel, getLevelPrefix, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isWarnEnabled, setLevel, setMaximumLinesOfStackTrace, warn
-
-
-
-
Method Detail
-
error
public void error(java.lang.CharSequence msg)
Description copied from class:Log.LoggerFacadeLogs an error message.- Specified by:
errorin classLog.LoggerFacade- Parameters:
msg- The text to log.
-
warn
public void warn(java.lang.CharSequence msg)
Description copied from class:Log.LoggerFacadeLogs a warning message.- Specified by:
warnin classLog.LoggerFacade- Parameters:
msg- The text to log.
-
info
public void info(java.lang.CharSequence msg)
Description copied from class:Log.LoggerFacadeLogs an informational message.- Specified by:
infoin classLog.LoggerFacade- Parameters:
msg- The text to log.
-
debug
public void debug(java.lang.CharSequence msg)
Description copied from class:Log.LoggerFacadeLogs a debugging message.- Specified by:
debugin classLog.LoggerFacade- Parameters:
msg- The text to log.
-
-