Package org.apache.pekko.event.jul
Class Logger
- java.lang.Object
-
- org.apache.pekko.event.jul.Logger
-
public class Logger extends java.lang.Object
Deprecated.Use SLF4J or direct java.util.logging instead. Since Akka 2.6.0.Logger is a factory for obtaining JUL Loggers
-
-
Constructor Summary
Constructors Constructor Description Logger()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static java.util.logging.Logger
apply(java.lang.Class<?> logClass, java.lang.String logSource)
Deprecated.static java.util.logging.Logger
apply(java.lang.String logger)
Deprecated.static java.util.logging.Level
mapLevel(Logging.LogLevel level)
Deprecated.static java.util.logging.Logger
root()
Deprecated.Returns the JUL Root Logger
-
-
-
Method Detail
-
apply
public static java.util.logging.Logger apply(java.lang.String logger)
Deprecated.- Parameters:
logger
- - which logger- Returns:
- a Logger that corresponds for the given logger name
-
apply
public static java.util.logging.Logger apply(java.lang.Class<?> logClass, java.lang.String logSource)
Deprecated.- Parameters:
logClass
- - the class to log forlogSource
- - the textual representation of the source of this log stream- Returns:
- a Logger for the specified parameters
-
root
public static java.util.logging.Logger root()
Deprecated.Returns the JUL Root Logger
-
mapLevel
public static java.util.logging.Level mapLevel(Logging.LogLevel level)
Deprecated.
-
-