public class Slf4jMonologFactory extends Object implements LoggingFactory
| Modifier and Type | Field and Description |
|---|---|
private static Slf4jLoggerLevelSetter |
runtimeReconfiguration |
| Constructor and Description |
|---|
Slf4jMonologFactory() |
| Modifier and Type | Method and Description |
|---|---|
Level |
getDebugLevel()
Returns the Level object for DEBUG level.
|
Level |
getErrorLevel()
Returns the Level object for ERROR level.
|
Level |
getFatalLevel()
Returns the Level object for FATAL level.
|
Level |
getInfoLevel()
Returns the Level object for INFO level.
|
Logger |
getLogger(String topic)
Find or create a logger for a named subsystem.
|
Level |
getWarnLevel()
Returns the Level object for WARN level.
|
void |
initialize(String debugDir,
String debugFileName)
Initializes the logging subsystem.
|
Level |
parse(String name)
Returns the Level object corresponding to specified name.
|
static void |
setRuntimeReconfiguration(Slf4jLoggerLevelSetter runtimeReconfiguration) |
private static Slf4jLoggerLevelSetter runtimeReconfiguration
public void initialize(String debugDir, String debugFileName)
LoggingFactoryinitialize in interface LoggingFactorypublic Logger getLogger(String topic)
LoggingFactorygetLogger in interface LoggingFactorytopic - A name for the logger. This should be a dot-separated name and
should normally be based on the package name or class name of the subsystem.public Level getFatalLevel()
LoggingFactorygetFatalLevel in interface LoggingFactorypublic Level getErrorLevel()
LoggingFactorygetErrorLevel in interface LoggingFactorypublic Level getWarnLevel()
LoggingFactorygetWarnLevel in interface LoggingFactorypublic Level getInfoLevel()
LoggingFactorygetInfoLevel in interface LoggingFactorypublic Level getDebugLevel()
LoggingFactorygetDebugLevel in interface LoggingFactorypublic Level parse(String name)
LoggingFactoryparse in interface LoggingFactoryname - The level name, for example DEBUG or FATAL.public static void setRuntimeReconfiguration(Slf4jLoggerLevelSetter runtimeReconfiguration)
Copyright © 2022 ScalAgent D.T.. All rights reserved.