java.lang.Object
is.codion.plugin.jul.JulProxy
- All Implemented Interfaces:
LoggerProxy
A java.util.logging LoggerProxy implementation
-
Field Summary
Fields inherited from interface is.codion.common.utilities.logging.LoggerProxy
NONE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface is.codion.common.utilities.logging.LoggerProxy
files
-
Constructor Details
-
JulProxy
public JulProxy()
-
-
Method Details
-
level
Description copied from interface:LoggerProxyReturns the level set for the given logger itself, null where it has none, the logger then inheriting the level of its nearest ancestor with one. TheLoggerProxy.root()logger always has a level.- Specified by:
levelin interfaceLoggerProxy- Parameters:
logger- the logger name- Returns:
- the level set for the given logger, null if none is set
-
level
Description copied from interface:LoggerProxySets the level of the given logger- Specified by:
levelin interfaceLoggerProxy- Parameters:
logger- the logger namelevel- the level, one ofLoggerProxy.levels()
-
levels
- Specified by:
levelsin interfaceLoggerProxy- Returns:
- the available log levels, ordered from the most to the least verbose, OFF last
-
root
- Specified by:
rootin interfaceLoggerProxy- Returns:
- the name of the root logger
-
loggers
- Specified by:
loggersin interfaceLoggerProxy- Returns:
- all loggers
-