|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dlese.dpc.logging.DleseLogManager
public class DleseLogManager
Overall log manager. See ClfLogger and
DebugLogger for usage info.
| Field Summary | |
|---|---|
static int |
LOG_LOCALTIME
Time stamps debug logs are in local time, as opposed to UTC time |
static int |
LOG_STD
Standard debug log format. |
static int |
LOG_TEXT
Debug log is created in text format, as opposed to XML. |
static int |
LOG_UTCTIME
Time stamps debug logs are in UTC (GMT) time, as opposed to local time |
static int |
LOG_XML
Debug log is created in XML format, as opposed to text. |
| Constructor Summary | |
|---|---|
DleseLogManager()
|
|
| Method Summary | |
|---|---|
static ClfLogger |
getClfLogger(Level loggerLevel,
boolean appendFlag,
String outfilename)
Returns a ClfLogger. |
static DebugLogger |
getDebugLogger(int outputType,
int timeType,
int outputFormat,
Level loggerLevel,
boolean appendFlag,
String outfilename)
Returns a DebugLogger. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static int LOG_STD
public static int LOG_TEXT
public static int LOG_XML
public static int LOG_UTCTIME
public static int LOG_LOCALTIME
| Constructor Detail |
|---|
public DleseLogManager()
| Method Detail |
|---|
public static ClfLogger getClfLogger(Level loggerLevel,
boolean appendFlag,
String outfilename)
throws LogException
ClfLogger.
loggerLevel - The minumum level message this logger will accept.appendFlag - If true, we append to outfileoutfilename - The name of output file
LogException
public static DebugLogger getDebugLogger(int outputType,
int timeType,
int outputFormat,
Level loggerLevel,
boolean appendFlag,
String outfilename)
throws LogException
DebugLogger.
outputType - Must always be LOG_STD. For future flexibility.timeType - The type of time stamp:
Either LOG_UTCTIME or LOG_LOCALTIMEoutputFormat - Either LOG_XML or LOG_TEXT. Normally LOG_TEXT.loggerLevel - The minumum level message this logger will accept.appendFlag - If true, we append to outfileoutfilename - The name of output file
LogException
|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||