Package fr.gouv.vitam.common.logging
Class JdkLoggerFactory
java.lang.Object
fr.gouv.vitam.common.logging.VitamLoggerFactory
fr.gouv.vitam.common.logging.JdkLoggerFactory
Logger factory which creates a java
.util.logging logger.
Inspired from Netty
Inspired from Netty
-
Field Summary
Fields inherited from class fr.gouv.vitam.common.logging.VitamLoggerFactory
currentLevel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected VitamLogLevel
newInstance
(String name) Creates a new logger instance with the specified name.protected void
seLevelSpecific
(VitamLogLevel level) Set the level for the specific implementationMethods inherited from class fr.gouv.vitam.common.logging.VitamLoggerFactory
getDefaultFactory, getInstance, getInstance, getLogLevel, setDefaultFactory, setInternalLogLevel, setLogLevel
-
Constructor Details
-
JdkLoggerFactory
- Parameters:
level
- the vitam log level
-
-
Method Details
-
newInstance
Description copied from class:VitamLoggerFactory
Creates a new logger instance with the specified name.- Specified by:
newInstance
in classVitamLoggerFactory
-
seLevelSpecific
Description copied from class:VitamLoggerFactory
Set the level for the specific implementation- Specified by:
seLevelSpecific
in classVitamLoggerFactory
-
getLevelSpecific
- Specified by:
getLevelSpecific
in classVitamLoggerFactory
- Returns:
- should return the current Level for the specific implementation
-