|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jlf.log.AbstractLoggingMechanism | +--org.jlf.log.fileMechanisms.AbstractFileLoggingMechanism | +--org.jlf.log.fileMechanisms.UniqueFileLoggingMechanism | +--org.jlf.log.fileMechanisms.UniqueDatedFileLoggingMechanism
This logging mechanism adds today's date to the log file name, and also rolls logging over to a new file when dates change (the first new string logged on a new date causes the current log file to close and a new log file to be opened with today's date).
Field Summary |
Fields inherited from class org.jlf.log.fileMechanisms.AbstractFileLoggingMechanism |
currentFileName, fileOutputStream, logPath |
Fields inherited from class org.jlf.log.AbstractLoggingMechanism |
compactDateFormat, dateFormat, dateOpened, logs, printStream, timeFormat |
Constructor Summary | |
UniqueDatedFileLoggingMechanism()
|
Method Summary | |
static AbstractLoggingMechanism |
getInstance()
|
protected boolean |
isDatedLog()
Mechanisms can be dated or non-dated. |
Methods inherited from class org.jlf.log.fileMechanisms.UniqueFileLoggingMechanism |
isSharedLog |
Methods inherited from class org.jlf.log.fileMechanisms.AbstractFileLoggingMechanism |
close, getFileName, logFileNamePrefix, logFileNameSuffix, open, toString |
Methods inherited from class org.jlf.log.AbstractLoggingMechanism |
closeForLog, compactCurrentDate, currentDate, currentTime, getLoggingMechanismForString, getName, hasDateRolledOver, loggingPrefix, logString, notifyLogClosed, notifyLoggingLevelChange, notifyLogOpened, openForLog, rollLogOver |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public UniqueDatedFileLoggingMechanism()
Method Detail |
public static AbstractLoggingMechanism getInstance()
protected boolean isDatedLog()
AbstractLoggingMechanism
isDatedLog
in class AbstractLoggingMechanism
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |