Package akka.event.slf4j
Class Logger$
- java.lang.Object
-
- akka.event.slf4j.Logger$
-
public class Logger$ extends java.lang.Object
Logger is a factory for obtaining SLF4J-Loggers
-
-
Constructor Summary
Constructors Constructor Description Logger$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.slf4j.Logger
apply(java.lang.Class<?> logClass, java.lang.String logSource)
org.slf4j.Logger
apply(java.lang.String logger)
org.slf4j.Logger
root()
Returns the SLF4J Root Logger
-
-
-
Field Detail
-
MODULE$
public static final Logger$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
apply
public org.slf4j.Logger apply(java.lang.String logger)
- Parameters:
logger
- - which logger- Returns:
- a Logger that corresponds for the given logger name
-
apply
public org.slf4j.Logger apply(java.lang.Class<?> logClass, java.lang.String logSource)
- 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 org.slf4j.Logger root()
Returns the SLF4J Root Logger
-
-