trait LevelLogBuilder[F[_]] extends AnyRef
Top level logging API for a specific logging level.
- Alphabetic
- By Inheritance
- LevelLogBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def apply(ex: Throwable, msg: String)(implicit location: Location): F[Unit]
Log simple message with an exception and no message specific structured argument.
Log simple message with an exception and no message specific structured argument.
- ex
exception to be logged
- msg
message to be logged
- abstract def apply(msg: String)(implicit location: Location): F[Unit]
Log simple message with no exception nor message specific structured argument.
Log simple message with no exception nor message specific structured argument.
- msg
message to be logged
- abstract def whenEnabled: WhenEnabledLogBuilder[F]
Gets an instance of WhenEnabledLogBuilder associated with current logging level.
Gets an instance of WhenEnabledLogBuilder associated with current logging level.
- returns
an instance of WhenEnabledLogBuilder
- abstract def withArg[T](key: String, value: => T)(implicit arg0: LogEncoder[T]): LogBuilder[F]
Extends current logging statement with structured data.
Extends current logging statement with structured data.
- T
type of structured argument. It needs to implement LogEncoder typeclass.
- key
name of the argument
- value
value to be used as structured argument
- returns
a new LogBuilder instance containing provided structured argument
Concrete 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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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 toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()