SLF4JLogger

com.tersesystems.blindsight.slf4j.SLF4JLogger
See theSLF4JLogger companion object

Public SLF4J Logger interface. This is intended for the end user.

val markers = Markers(bobj("key" -> "value"))
val message = "message arg1={} arg2={} arg3={}"
val arguments: Arguments = Arguments("arg1", 42, true)
val e = new RuntimeException("whoops")
logger.info(markers, message, arguments, e);

Attributes

Companion:
object
Source:
SLF4JLogger.scala
Graph
Supertypes
Known subtypes
trait Logger
class Impl
class Strict

Members list

Concise view

Type members

Types

override type Self <: SLF4JLogger

Attributes

Source:
SLF4JLogger.scala

Inherited types

type Method <: M

Attributes

Inherited from:
SLF4JLoggerComponent
Source:
SLF4JLoggerAPI.scala
type Predicate <: P

Attributes

Inherited from:
SLF4JLoggerComponent
Source:
SLF4JLoggerAPI.scala

Value members

Inherited methods

Attributes

Inherited from:
Debug
Source:
SLF4JLoggerAPI.scala

Attributes

Inherited from:
Error
Source:
SLF4JLoggerAPI.scala

Attributes

Inherited from:
Info
Source:
SLF4JLoggerAPI.scala

Attributes

Inherited from:
Debug
Source:
SLF4JLoggerAPI.scala

Attributes

Inherited from:
Error
Source:
SLF4JLoggerAPI.scala

Attributes

Inherited from:
Info
Source:
SLF4JLoggerAPI.scala

Attributes

Inherited from:
Trace
Source:
SLF4JLoggerAPI.scala

Attributes

Inherited from:
Warn
Source:
SLF4JLoggerAPI.scala

Returns the accumulated markers of this logger.

Returns the accumulated markers of this logger.

Attributes

Returns:

the accumulated markers, may be Markers.empty.

Inherited from:
MarkerMixin
Source:
MarkerMixin.scala

Attributes

Inherited from:
Trace
Source:
SLF4JLoggerAPI.scala
def underlying: Logger

Attributes

Inherited from:
UnderlyingMixin
Source:
UnderlyingMixin.scala

Attributes

Inherited from:
Warn
Source:
SLF4JLoggerAPI.scala
def withCondition(condition: Condition): Self

Returns a new instance of the logger that will only log if the condition is met.

Returns a new instance of the logger that will only log if the condition is met.

Attributes

Inherited from:
ConditionMixin
Source:
ConditionMixin.scala
def withEntryTransform(level: Level, f: Entry => Entry): Self

Attributes

Inherited from:
EntryTransformMixin
Source:
EntryTransformMixin.scala
def withEventBuffer(level: Level, buffer: EventBuffer): Self

Attributes

Inherited from:
EventBufferMixin
Source:
EventBufferMixin.scala

Attributes

Inherited from:
EventBufferMixin
Source:
EventBufferMixin.scala
def withMarker[T : ToMarkers](instance: T): Self

Returns a logger which will always render with the given marker.

Returns a logger which will always render with the given marker.

Attributes

T

the instance type.

instance

a type class instance of ToMarkers

Returns:

a new instance of the logger that has this marker.

Inherited from:
MarkerMixin
Source:
MarkerMixin.scala

Deprecated and Inherited methods

def onCondition(condition: Condition): Self

Returns a new instance of the logger that will only log if the condition is met.

Returns a new instance of the logger that will only log if the condition is met.

Attributes

Deprecated
true
Inherited from:
OnConditionMixin
Source:
ConditionMixin.scala