public class CsvLoggerManager extends LoggerManager
CSVFormatter and decouples
LoggerManager from AristaFlow-specific classes in
CSVFormatter.configuredLoggers, ourLogger| Constructor and Description |
|---|
CsvLoggerManager(boolean keepHandler,
boolean debugLogging)
Creates a new
LoggerManager providing a
CSVFormatter. |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.logging.Formatter |
createFormatter(boolean csvMode)
Creates a formatter for a logger.
|
adjustLogLevel, initialiseConsoleLogging, initialiseFileLogging, resetLoggerpublic CsvLoggerManager(boolean keepHandler,
boolean debugLogging)
LoggerManager providing a
CSVFormatter.keepHandler - Whether to keep already registered log handlers.
Otherwise all registered log handlers will be removed.debugLogging - Whether debug logging should be enabled, that is, all
log messages before initialising the logging will be printed to
console.protected java.util.logging.Formatter createFormatter(boolean csvMode)
LoggerManagercreateFormatter in class LoggerManagercsvMode - Whether the formatter is for a CSV log with additional
AristaFlow-specific information when logging.CSVFormatter