|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--marf.util.BaseThread | +--marf.util.Logger
MARF Runnable Logging Facility.
TODO: document. $Id: Logger.java,v 1.5 2005/06/05 23:39:03 mokhov Exp $
Nested Class Summary | |
class |
Logger.LogPrintStream
Our own LogPrintStream. |
Field Summary | |
protected boolean |
available
|
protected boolean |
bNoTimestamp
|
protected java.lang.String |
filename
|
protected Logger.LogPrintStream |
log
|
static int |
LOG_STDERR_TO_FILE
|
static int |
LOG_STDOUT_STDERR_TO_FILE
|
static int |
LOG_STDOUT_TO_FILE
|
static int |
LOG_TO_FILE_STDOUT_STDERR
|
protected int |
logDirection
|
protected java.lang.String |
logMessage
|
Fields inherited from class marf.util.BaseThread |
iTID, siNextTID |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
Logger(java.lang.String psrFilename)
|
|
Logger(java.lang.String psrFilename,
int logDirection)
|
Method Summary | |
static java.lang.String |
getRevision()
Returns source code revision information. |
Methods inherited from class marf.util.BaseThread |
getNextTID, getTID |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int LOG_TO_FILE_STDOUT_STDERR
public static final int LOG_STDOUT_TO_FILE
public static final int LOG_STDERR_TO_FILE
public static final int LOG_STDOUT_STDERR_TO_FILE
protected boolean bNoTimestamp
protected java.lang.String filename
protected boolean available
protected Logger.LogPrintStream log
protected java.lang.String logMessage
protected int logDirection
Constructor Detail |
public Logger(java.lang.String psrFilename) throws java.lang.Exception
public Logger(java.lang.String psrFilename, int logDirection) throws java.lang.Exception
Method Detail |
public static java.lang.String getRevision()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |