|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tranche.logs.SimpleLog
public class SimpleLog
| Field Summary | |
|---|---|
static int |
AFT_LOG
Identifier for add file tool log. |
static int |
GFT_LOG
Identifier for get file tool log. |
static boolean |
IS_DISABLED
------------------------------------------------------------ Need to disable for stress tests. |
static int |
RTS_LOG
Identifier for remote tranche server log. |
static int |
ServerUtil_LOG
Identifier for server utility log. |
static int |
SWT_LOG
Identifier for server worker thread log. |
| Constructor Summary | |
|---|---|
SimpleLog()
|
|
| Method Summary | |
|---|---|
static void |
log(LogUnit lu)
Add a log unit to the run queue to be logged. |
static void |
setEnabled(boolean loggingEnabled)
Set whether to enable or disable logging. |
static void |
setEnabled(boolean loggingEnabled,
boolean purgeOldLogFiles)
Set whether to enable logging and/or purge old log files. |
static void |
setLog(int log,
java.io.File fileForLog)
Set log identifier and file location for log for simple logging. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final boolean IS_DISABLED
public static final int AFT_LOG
public static final int GFT_LOG
public static final int RTS_LOG
public static final int SWT_LOG
public static final int ServerUtil_LOG
| Constructor Detail |
|---|
public SimpleLog()
| Method Detail |
|---|
public static final void log(LogUnit lu)
lu - public static final void setEnabled(boolean loggingEnabled)
loggingEnabled -
public static final void setEnabled(boolean loggingEnabled,
boolean purgeOldLogFiles)
loggingEnabled - purgeOldLogFiles -
public static void setLog(int log,
java.io.File fileForLog)
log - fileForLog -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||