Logger

cc.otavia.core.slf4a.Logger
See theLogger companion trait
object Logger

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Logger.type

Members list

Value members

Concrete methods

def getLogger(clz: Class[_], system: ActorSystem): Logger

Return a logger named corresponding to the class passed as parameter, using the statically bound ILoggerFactory instance. In case the the clazz parameter differs from the name of the caller as computed internally by SLF4J, a logger name mismatch warning will be printed but only if the slf4j.detectLoggerNameMismatch system property is set to true. By default, this property is not set and no warnings will be printed even in case of a logger name mismatch.

Return a logger named corresponding to the class passed as parameter, using the statically bound ILoggerFactory instance. In case the the clazz parameter differs from the name of the caller as computed internally by SLF4J, a logger name mismatch warning will be printed but only if the slf4j.detectLoggerNameMismatch system property is set to true. By default, this property is not set and no warnings will be printed even in case of a logger name mismatch.

Value parameters

clz

the returned logger will be named after clazz

system

ActorSystem of the Logger running

Attributes

Returns

a Logger instance

def getLogger(name: String, system: ActorSystem): Logger

Return a logger named according to the name parameter using the statically bound ILoggerFactory instance.

Return a logger named according to the name parameter using the statically bound ILoggerFactory instance.

Value parameters

name

The name of the logger.

system

ActorSystem of the Logger running

Attributes

Returns

a Logger instance

Concrete fields

val ROOT_LOGGER_NAME: String

Case insensitive String constant used to retrieve the name of the root logger.

Case insensitive String constant used to retrieve the name of the root logger.

Attributes