org.millscript.millscript.conf.logging
Class EmergLogger

java.lang.Object
  extended by org.millscript.millscript.conf.logging.EmergLogger
All Implemented Interfaces:
Logger
Direct Known Subclasses:
AlertLogger

public class EmergLogger
extends java.lang.Object
implements Logger

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


Constructor Summary
EmergLogger()
           
 
Method Summary
 void alert(java.lang.Object o)
          Logs the specified object as an "alert" level message.
 void alertLine(java.lang.Object o)
          Logs the specified object as an "alert" level message and ends the current line of output.
 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.
 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 emerg(java.lang.Object o)
          Logs the specified object as an "emerg" level message.
 void emergLine(java.lang.Object o)
          Logs the specified object as an "emerg" level message and ends the current line of output.
 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.
 void info(java.lang.Object o)
          Logs the specified object as an "info" level message.
 void infoLine(java.lang.Object o)
          Logs the specified object as an "info" level message and ends the current line of output.
 void notice(java.lang.Object o)
          Logs the specified object as a "notice" level message.
 void noticeLine(java.lang.Object o)
          Logs the specified object as a "notice" level message and ends the current line of output.
 void print(java.lang.Object o)
          Prints the specified object to the relevant output for this logger.
 void println(java.lang.Object o)
          Prints the specified object to the relevant output for this logger and then ends the line.
 void stackTrace(java.lang.Throwable t)
          Prints a stack trace for the specified throwable object, to the relevant output for this logger.
 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmergLogger

public EmergLogger()
Method Detail

alert

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

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

alertLine

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

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

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
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
Parameters:
o - the object to log
See Also:
Logger.critLine(java.lang.Object)

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
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
Parameters:
o - the object to log
See Also:
Logger.debugLine(java.lang.Object)

emerg

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

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

emergLine

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

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

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
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
Parameters:
o - the object to log
See Also:
Logger.errorLine(java.lang.Object)

info

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

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

infoLine

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

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

notice

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

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

noticeLine

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

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

print

public void print(java.lang.Object o)
Description copied from interface: Logger
Prints the specified object to the relevant output for this logger.

Specified by:
print in interface Logger
Parameters:
o - The Object to be printed
See Also:
Logger.print(java.lang.Object)

println

public void println(java.lang.Object o)
Description copied from interface: Logger
Prints the specified object to the relevant output for this logger and then ends the line.

Specified by:
println in interface Logger
Parameters:
o - The Object to be printed
See Also:
Logger.println(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
Parameters:
t - The throwable to print a stack trace for
See Also:
Logger.stackTrace(java.lang.Throwable)

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
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
Parameters:
o - the object to log
See Also:
Logger.warnLine(java.lang.Object)


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