Logger

csw.logging.api.scaladsl.Logger
trait Logger

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def debug(msg: => String, map: => Map[String, Any], ex: Throwable, id: AnyId)(implicit factory: SourceFactory): Unit

Writes a debug level log message.

Writes a debug level log message.

Value parameters

ex

an optional exception to be logged together with its stack trace.

id

optional id of a request

map

optional key-value pairs to be logged along with message

msg

the message to be logged.

Attributes

def error(msg: => String, map: => Map[String, Any], ex: Throwable, id: AnyId)(implicit factory: SourceFactory): Unit

Writes an error level log message.

Writes an error level log message.

Value parameters

ex

an optional exception to be logged together with its stack trace.

id

optional id of a request

map

optional key-value pairs to be logged along with message

msg

the message to be logged.

Attributes

def fatal(msg: => String, map: => Map[String, Any], ex: Throwable, id: AnyId)(implicit factory: SourceFactory): Unit

Writes a fatal level log message.

Writes a fatal level log message.

Value parameters

ex

an optional exception to be logged together with its stack trace.

id

optional id of a request

map

optional key-value pairs to be logged along with message

msg

the message to be logged.

Attributes

def info(msg: => String, map: => Map[String, Any], ex: Throwable, id: AnyId)(implicit factory: SourceFactory): Unit

Writes an info level log message.

Writes an info level log message.

Value parameters

ex

an optional exception to be logged together with its stack trace.

id

optional id of a request

map

optional key-value pairs to be logged along with message

msg

the message to be logged.

Attributes

def trace(msg: => String, map: => Map[String, Any], ex: Throwable, id: AnyId)(implicit factory: SourceFactory): Unit

Writes a trace level log message.

Writes a trace level log message.

Value parameters

ex

an optional exception to be logged together with its stack trace.

id

optional id of a request

map

optional key-value pairs to be logged along with message

msg

the message to be logged.

Attributes

def warn(msg: => String, map: => Map[String, Any], ex: Throwable, id: AnyId)(implicit factory: SourceFactory): Unit

Writes a warn level log message.

Writes a warn level log message.

Value parameters

ex

an optional exception to be logged together with its stack trace.

id

optional id of a request

map

optional key-value pairs to be logged along with message

msg

the message to be logged.

Attributes