cc.otavia.core.slf4a

Members list

Type members

Classlikes

abstract class AbstractILoggerFactory extends ILoggerFactory

Attributes

Supertypes
class Object
trait Matchable
class Any
abstract class AbstractLogger extends Logger, Serializable, ModuleListener

Attributes

Supertypes
trait Serializable
trait Logger
class Object
trait Matchable
class Any
Show 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 Object
trait Matchable
class Any
Known subtypes
enum LogLevel extends Ordered[LogLevel]

Log level for actor.

Log level for actor.

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
trait Ordered[LogLevel]
trait Comparable[LogLevel]
class Object
trait Matchable
class Any
Show all
trait Logger

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 Object
trait Matchable
class Any
Known subtypes
object NOPLogger
object Logger

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Logger.type
object LoggerFactory

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 Object
trait Matchable
class Any
Self type