org.millscript.millscript.conf.logging
Class CritLogger

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
All Implemented Interfaces:
Logger
Direct Known Subclasses:
ErrorLogger

public class CritLogger
extends AlertLogger

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


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

Constructor Detail

CritLogger

public CritLogger()
Method Detail

crit

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

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

critLine

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

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


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