public class LogManager extends Object
Modifier and Type | Field and Description |
---|---|
static String |
TEXT_FORMAT
Constant used to specify the simple text formatting of log output.
|
static String |
XML_FORMAT
Constant used to specify the XML formatting of log output.
|
Modifier and Type | Method and Description |
---|---|
void |
applyLogLevelOverride(String logEntry)
Apply a log level overrides.
|
void |
applyLogLevelOverrides(String[] logEntries)
Apply a set of log level overrides.
|
void |
clearAllLogLevelOverrides()
Clear all log level overrides.
|
void |
configure(AttributeValueTable config)
Configure this LogManager.
|
AttributeValueTable |
getConfiguration()
Gets the configuration for this LogManager.
|
static LogManager |
getInstance()
Get the singleton instance of LogManager.
|
boolean |
isInitialized()
Returns indication as to whether logging has been initialized.
|
public static final String TEXT_FORMAT
public static final String XML_FORMAT
public static LogManager getInstance()
public boolean isInitialized()
public AttributeValueTable getConfiguration() throws IfsException
This will include an entry for the complete set of log-level overrides in effect.
IfsException
- if the operation failspublic void configure(AttributeValueTable config) throws IfsException
config
- the table of logging configuration parametersIfsException
- if the operation failspublic void clearAllLogLevelOverrides()
public void applyLogLevelOverrides(String[] logEntries)
logEntries
- the log override entriespublic void applyLogLevelOverride(String logEntry)
logEntry
- the log override entryCopyright © 2023. All rights reserved.