org.millscript.millscript.conf.logging
Class ErrorLogger

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

public class ErrorLogger
extends CritLogger

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


Constructor Summary
ErrorLogger()
           
 
Method Summary
 void error(java.lang.Object o)
          Logs the specified object as an "error" level message.
 void errorLine(java.lang.Object o)
          Logs the specified object as an "error" level message and ends the current line of output.
 
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
debug, debugLine, emerg, emergLine, 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

ErrorLogger

public ErrorLogger()
Method Detail

error

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

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

errorLine

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

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


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