Logger

de.rmgk.logging$.Logger
See theLogger companion object
case class Logger(minLevel: Level, logPrinter: LogPrinter)

Convenience methods for logging at certain levels. Tries to inline log calls so level check happens before method call.

Value parameters

logPrinter

handles printing and formatting the log messages

minLevel

minimum level that gets printed

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

inline def info[T : Loggable](inline m: String, info: T)(implicit evidence$2: Loggable[T], Context): Unit
inline def info(inline m: String)(using Context): Unit
inline def log[T](inline level: Level, inline message: String, info: T)(using c: Context, log: Loggable[T]): Unit
inline def trace[T : Loggable](inline m: String, info: T)(implicit evidence$1: Loggable[T], Context): Unit
inline def trace(inline m: String)(using Context): Unit
inline def warn[T : Loggable](inline m: String, info: T)(implicit evidence$3: Loggable[T], Context): Unit
inline def warn(inline m: String)(using Context): Unit

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product