Package fr.gouv.vitam.common.logging
Class JdkLoggerFactory
- java.lang.Object
-
- fr.gouv.vitam.common.logging.VitamLoggerFactory
-
- fr.gouv.vitam.common.logging.JdkLoggerFactory
-
public final class JdkLoggerFactory extends VitamLoggerFactory
Logger factory which creates a java .util.logging logger.
Inspired from Netty
-
-
Field Summary
-
Fields inherited from class fr.gouv.vitam.common.logging.VitamLoggerFactory
currentLevel
-
-
Constructor Summary
Constructors Constructor Description JdkLoggerFactory(VitamLogLevel level)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected VitamLogLevel
getLevelSpecific()
VitamLogger
newInstance(java.lang.String name)
Creates a new logger instance with the specified name.protected void
seLevelSpecific(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
-
JdkLoggerFactory
public JdkLoggerFactory(VitamLogLevel level)
- Parameters:
level
- the vitam log level
-
-
Method Detail
-
newInstance
public VitamLogger newInstance(java.lang.String name)
Description copied from class:VitamLoggerFactory
Creates a new logger instance with the specified name.- Specified by:
newInstance
in classVitamLoggerFactory
-
seLevelSpecific
protected void seLevelSpecific(VitamLogLevel level)
Description copied from class:VitamLoggerFactory
Set the level for the specific implementation- Specified by:
seLevelSpecific
in classVitamLoggerFactory
-
getLevelSpecific
protected VitamLogLevel getLevelSpecific()
- Specified by:
getLevelSpecific
in classVitamLoggerFactory
- Returns:
- should return the current Level for the specific implementation
-
-