org.millscript.millscript.conf.logging
Class WarnLogger

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

public class WarnLogger
extends ErrorLogger

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


Constructor Summary
WarnLogger()
           
 
Method Summary
 void warn(java.lang.Object o)
          Logs the specified object as a "warn" level message.
 void warnLine(java.lang.Object o)
          Logs the specified object as a "warn" level message and ends the current line of output.
 
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
debug, debugLine, emerg, emergLine, info, infoLine, notice, noticeLine, print, println, stackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WarnLogger

public WarnLogger()
Method Detail

warn

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

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

warnLine

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

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


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