Package fr.gouv.vitam.common.logging
Class LogbackLoggerFactory
- java.lang.Object
-
- fr.gouv.vitam.common.logging.VitamLoggerFactory
-
- fr.gouv.vitam.common.logging.LogbackLoggerFactory
-
public final class LogbackLoggerFactory extends VitamLoggerFactory
logger factory using SLF4J from Logback
-
-
Field Summary
-
Fields inherited from class fr.gouv.vitam.common.logging.VitamLoggerFactory
currentLevel
-
-
Constructor Summary
Constructors Constructor Description LogbackLoggerFactory(VitamLogLevel level)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected VitamLogLevelgetLevelSpecific()VitamLoggernewInstance(java.lang.String name)Creates a new logger instance with the specified name.protected voidseLevelSpecific(VitamLogLevel level)Set the level for the specific implementation-
Methods inherited from class fr.gouv.vitam.common.logging.VitamLoggerFactory
getDefaultFactory, getInstance, getInstance, getLogLevel, setDefaultFactory, setInternalLogLevel, setLogLevel
-
-
-
-
Constructor Detail
-
LogbackLoggerFactory
public LogbackLoggerFactory(VitamLogLevel level)
- Parameters:
level- the vitam log level
-
-
Method Detail
-
seLevelSpecific
protected void seLevelSpecific(VitamLogLevel level)
Description copied from class:VitamLoggerFactorySet the level for the specific implementation- Specified by:
seLevelSpecificin classVitamLoggerFactory
-
newInstance
public VitamLogger newInstance(java.lang.String name)
Description copied from class:VitamLoggerFactoryCreates a new logger instance with the specified name.- Specified by:
newInstancein classVitamLoggerFactory
-
getLevelSpecific
protected VitamLogLevel getLevelSpecific()
- Specified by:
getLevelSpecificin classVitamLoggerFactory- Returns:
- should return the current Level for the specific implementation
-
-