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
Field Summary |
static Logger$ |
MODULE$
Static reference to the singleton instance of this Scala object. |
Method Summary |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MODULE$
public static final Logger$ MODULE$
- Static reference to the singleton instance of this Scala object.
Logger$
public Logger$()
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