org.millscript.millscript.conf.logging
Class DebugLogger

java.lang.Object
  extended by org.millscript.millscript.conf.logging.EmergLogger
      extended by org.millscript.millscript.conf.logging.AlertLogger
          extended by org.millscript.millscript.conf.logging.CritLogger
              extended by org.millscript.millscript.conf.logging.ErrorLogger
                  extended by org.millscript.millscript.conf.logging.WarnLogger
                      extended by org.millscript.millscript.conf.logging.NoticeLogger
                          extended by org.millscript.millscript.conf.logging.InfoLogger
                              extended by org.millscript.millscript.conf.logging.DebugLogger
All Implemented Interfaces:
Logger

public class DebugLogger
extends InfoLogger

An "debug" level logger, to only log "debug" level messages.


Constructor Summary
DebugLogger()
           
 
Method Summary
 void debug(java.lang.Object o)
          Logs the specified object as a "debug" level message.
 void debugLine(java.lang.Object o)
          Logs the specified object as a "debug" level message and ends the current line of output.
 void stackTrace(java.lang.Throwable t)
          Prints a stack trace for the specified throwable object, to the relevant output for this logger.
 
Methods inherited from class org.millscript.millscript.conf.logging.InfoLogger
info, infoLine
 
Methods inherited from class org.millscript.millscript.conf.logging.NoticeLogger
notice, noticeLine
 
Methods inherited from class org.millscript.millscript.conf.logging.WarnLogger
warn, warnLine
 
Methods inherited from class org.millscript.millscript.conf.logging.ErrorLogger
error, errorLine
 
Methods inherited from class org.millscript.millscript.conf.logging.CritLogger
crit, critLine
 
Methods inherited from class org.millscript.millscript.conf.logging.AlertLogger
alert, alertLine
 
Methods inherited from class org.millscript.millscript.conf.logging.EmergLogger
emerg, emergLine, print, println
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DebugLogger

public DebugLogger()
Method Detail

debug

public void debug(java.lang.Object o)
Description copied from interface: Logger
Logs the specified object as a "debug" level message.

Specified by:
debug in interface Logger
Overrides:
debug in class EmergLogger
Parameters:
o - the object to log
See Also:
Logger.debug(java.lang.Object)

debugLine

public void debugLine(java.lang.Object o)
Description copied from interface: Logger
Logs the specified object as a "debug" level message and ends the current line of output.

Specified by:
debugLine in interface Logger
Overrides:
debugLine in class EmergLogger
Parameters:
o - the object to log
See Also:
Logger.debugLine(java.lang.Object)

stackTrace

public void stackTrace(java.lang.Throwable t)
Description copied from interface: Logger
Prints a stack trace for the specified throwable object, to the relevant output for this logger.

Specified by:
stackTrace in interface Logger
Overrides:
stackTrace in class EmergLogger
Parameters:
t - The throwable to print a stack trace for
See Also:
Logger.stackTrace(java.lang.Throwable)


Copyright © 2001-2007 Open World Ltd. All Rights Reserved.