case class Logger(underlying: org.slf4j.Logger) extends Product with Serializable
A wrapper around an slf4j.Logger to support rudimentary structured logging.
- Alphabetic
- By Inheritance
- Logger
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Logger(underlying: org.slf4j.Logger)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
debug(loggedEvent: LoggedEvent): Unit
Logs the given event at the
DEBUGlevel.Logs the given event at the
DEBUGlevel.- Annotations
- @inline()
-
def
debug(eventId: String, kvPairs: (String, Any)*): Unit
Logs an event with the given id and key-value pairs at the
DEBUGlevel.Logs an event with the given id and key-value pairs at the
DEBUGlevel.- Annotations
- @inline()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
error(loggedEvent: LoggedEvent): Unit
Logs the given event at the
ERRORlevel.Logs the given event at the
ERRORlevel.- Annotations
- @inline()
-
def
error(eventId: String, kvPairs: (String, Any)*): Unit
Logs an event with the given id and key-value pairs at the
ERRORlevel.Logs an event with the given id and key-value pairs at the
ERRORlevel.- Annotations
- @inline()
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
info(loggedEvent: LoggedEvent): Unit
Logs the given event at the
INFOlevel.Logs the given event at the
INFOlevel.- Annotations
- @inline()
-
def
info(eventId: String, kvPairs: (String, Any)*): Unit
Logs an event with the given id and key-value pairs at the
INFOlevel.Logs an event with the given id and key-value pairs at the
INFOlevel.- Annotations
- @inline()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
lazyEvalDebug(eventId: String, kvPairs: ⇒ Iterable[(String, Any)]): Unit
Logs an event with the given id and key-value pairs at the
DEBUGlevel.Logs an event with the given id and key-value pairs at the
DEBUGlevel. The key-value pairs are only evaluated if theDEBUGlevel is enabled.- Annotations
- @inline()
-
def
lazyEvalError(eventId: String, kvPairs: ⇒ Iterable[(String, Any)]): Unit
Logs an event with the given id and key-value pairs at the
ERRORlevel.Logs an event with the given id and key-value pairs at the
ERRORlevel. The key-value pairs are only evaluated if theERRORlevel is enabled.- Annotations
- @inline()
-
def
lazyEvalInfo(eventId: String, kvPairs: ⇒ Iterable[(String, Any)]): Unit
Logs an event with the given id and key-value pairs at the
INFOlevel.Logs an event with the given id and key-value pairs at the
INFOlevel. The key-value pairs are only evaluated if theINFOlevel is enabled.- Annotations
- @inline()
-
def
lazyEvalTrace(eventId: String, kvPairs: ⇒ Iterable[(String, Any)]): Unit
Logs an event with the given id and key-value pairs at the
TRACElevel.Logs an event with the given id and key-value pairs at the
TRACElevel. The key-value pairs are only evaluated if theTRACElevel is enabled.- Annotations
- @inline()
-
def
lazyEvalWarn(eventId: String, kvPairs: ⇒ Iterable[(String, Any)]): Unit
Logs an event with the given id and key-value pairs at the
WARNlevel.Logs an event with the given id and key-value pairs at the
WARNlevel. The key-value pairs are only evaluated if theWARNlevel is enabled.- Annotations
- @inline()
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
trace(loggedEvent: LoggedEvent): Unit
Logs the given event at the
TRACElevel.Logs the given event at the
TRACElevel.- Annotations
- @inline()
-
def
trace(eventId: String, kvPairs: (String, Any)*): Unit
Logs an event with the given id and key-value pairs at the
TRACElevel.Logs an event with the given id and key-value pairs at the
TRACElevel.- Annotations
- @inline()
- val underlying: org.slf4j.Logger
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
warn(loggedEvent: LoggedEvent): Unit
Logs the given event at the
WARNlevel.Logs the given event at the
WARNlevel.- Annotations
- @inline()
-
def
warn(eventId: String, kvPairs: (String, Any)*): Unit
Logs an event with the given id and key-value pairs at the
WARNlevel.Logs an event with the given id and key-value pairs at the
WARNlevel.- Annotations
- @inline()