public class DleseLogManager
extends java.lang.Object
ClfLogger
and
DebugLogger
for usage info.Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
DleseLogManager() |
Modifier and Type | Method and Description |
---|---|
static ClfLogger |
getClfLogger(java.util.logging.Level loggerLevel,
boolean appendFlag,
java.lang.String outfilename)
Returns a
ClfLogger . |
static DebugLogger |
getDebugLogger(int outputType,
int timeType,
int outputFormat,
java.util.logging.Level loggerLevel,
boolean appendFlag,
java.lang.String outfilename)
Returns a
DebugLogger . |
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
public static ClfLogger getClfLogger(java.util.logging.Level loggerLevel, boolean appendFlag, java.lang.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 fileLogException
public static DebugLogger getDebugLogger(int outputType, int timeType, int outputFormat, java.util.logging.Level loggerLevel, boolean appendFlag, java.lang.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 fileLogException