Package org.apache.pekko.event.slf4j
Class Logger
- java.lang.Object
-
- org.apache.pekko.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 Static Methods Concrete Methods Modifier and Type Method Description static org.slf4j.Logger
apply(java.lang.Class<?> logClass, java.lang.String logSource)
static org.slf4j.Logger
apply(java.lang.String logger)
static org.slf4j.Logger
root()
Returns the SLF4J Root Logger
-
-
-
Method Detail
-
apply
public static org.slf4j.Logger apply(java.lang.String logger)
- Parameters:
logger
- - which logger- Returns:
- a Logger that corresponds for the given logger name
-
apply
public static 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 static org.slf4j.Logger root()
Returns the SLF4J Root Logger
-
-