org.jlf.log
Class StandardErrLoggingMechanism

java.lang.Object
  |
  +--org.jlf.log.AbstractLoggingMechanism
        |
        +--org.jlf.log.StandardErrLoggingMechanism

public class StandardErrLoggingMechanism
extends AbstractLoggingMechanism

This logging mechanism logs errors to the System.err output stream. This is the default logging mechanism. As such, we don't want to cloud it up with notification messages, like those in the file logs.


Field Summary
protected static StandardErrLoggingMechanism singleton
           
 
Fields inherited from class org.jlf.log.AbstractLoggingMechanism
compactDateFormat, dateFormat, dateOpened, logs, printStream, timeFormat
 
Constructor Summary
StandardErrLoggingMechanism()
           
 
Method Summary
static AbstractLoggingMechanism getInstance()
           
protected  void notifyLogClosed(Log log)
           
protected  void notifyLoggingLevelChange(Log log, int loggingLevel)
           
protected  void notifyLogOpened(Log log)
           
 
Methods inherited from class org.jlf.log.AbstractLoggingMechanism
close, closeForLog, compactCurrentDate, currentDate, currentTime, getLoggingMechanismForString, getName, hasDateRolledOver, isDatedLog, isSharedLog, loggingPrefix, logString, notifyLogOpened, open, openForLog, rollLogOver, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

singleton

protected static StandardErrLoggingMechanism singleton
Constructor Detail

StandardErrLoggingMechanism

public StandardErrLoggingMechanism()
Method Detail

getInstance

public static AbstractLoggingMechanism getInstance()

notifyLogOpened

protected void notifyLogOpened(Log log)

notifyLogClosed

protected void notifyLogClosed(Log log)
Overrides:
notifyLogClosed in class AbstractLoggingMechanism

notifyLoggingLevelChange

protected void notifyLoggingLevelChange(Log log,
                                        int loggingLevel)
Overrides:
notifyLoggingLevelChange in class AbstractLoggingMechanism