cc.otavia.core.slf4a
Members list
Packages
Type members
Classlikes
Attributes
- Supertypes
Attributes
- Supertypes
-
trait ModuleListenertrait Serializabletrait Loggerclass Objecttrait Matchableclass AnyShow all
ILoggerFactory instances manufacture Logger instances by name. Most users retrieve Logger instances through the ActorSystem) method. An instance of of this interface is bound internally with LoggerFactory class at compile time.
ILoggerFactory instances manufacture Logger instances by name. Most users retrieve Logger instances through the ActorSystem) method. An instance of of this interface is bound internally with LoggerFactory class at compile time.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class NOPLoggerFactoryclass AbstractILoggerFactory
The Logger interface is the main user entry point of SLF4A API. It is expected that logging takes place through concrete implementations of this interface.
The Logger interface is the main user entry point of SLF4A API. It is expected that logging takes place through concrete implementations of this interface.
=== Example ===
@main def run(): Unit = {
val system = ActorSystem()
val logger = LoggerFactory.getLogger(getClass, system)
logger.info("actor system started!")
}
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object NOPLoggerclass AbstractLogger
The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for slf4a-simple, and others. LoggerFactory is essentially a wrapper around an ILoggerFactory instance bound with LoggerFactory at compile time.
The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for slf4a-simple, and others. LoggerFactory is essentially a wrapper around an ILoggerFactory instance bound with LoggerFactory at compile time.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
LoggerFactory.type