scribe.Logger
See theLogger companion object
case class Logger(parentId: Option[LoggerId], modifiers: List[LogModifier], handlers: List[LogHandler], overrideClassName: Option[String], data: Map[String, () => Any], id: LoggerId) extends LoggerSupport[Unit]
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait LoggerSupport[Unit]class Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
override def log(level: Level, mdc: MDC, features: LogFeature*)(implicit pkg: Pkg, fileName: FileName, name: Name, line: Line): Unit
Attributes
- Definition Classes
Attributes
- Definition Classes
def logDirect(level: Level, messages: List[LoggableMessage], fileName: String, className: String, methodName: Option[String], line: Option[Int], column: Option[Int], thread: Thread, timeStamp: Long): Unit
def withHandler(formatter: Formatter, writer: Writer, minimumLevel: Option[Level], modifiers: List[LogModifier], outputFormat: OutputFormat, handle: LogHandle): Logger
Inherited methods
Contextualize key/value pairs set on MDC. This will be made avoid on each log record within
Contextualize key/value pairs set on MDC. This will be made avoid on each log record within
Value parameters
- f
-
the context for which these MDC values are set
- keyValues
-
tuples of key/value pairs to set on MDC
Attributes
- Inherited from:
- LoggerSupport
def debug(features: LogFeature*)(implicit pkg: Pkg, fileName: FileName, name: Name, line: Line, mdc: MDC): F
Attributes
- Inherited from:
- LoggerSupport
Includes MDC elapsed to show elapsed time within the block
Includes MDC elapsed to show elapsed time within the block
Value parameters
- f
-
the code block to time
Attributes
- Inherited from:
- LoggerSupport
def error(features: LogFeature*)(implicit pkg: Pkg, fileName: FileName, name: Name, line: Line, mdc: MDC): F
Attributes
- Inherited from:
- LoggerSupport
def info(features: LogFeature*)(implicit pkg: Pkg, fileName: FileName, name: Name, line: Line, mdc: MDC): F
Attributes
- Inherited from:
- LoggerSupport
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
def trace(features: LogFeature*)(implicit pkg: Pkg, fileName: FileName, name: Name, line: Line, mdc: MDC): F
Attributes
- Inherited from:
- LoggerSupport
def warn(features: LogFeature*)(implicit pkg: Pkg, fileName: FileName, name: Name, line: Line, mdc: MDC): F
Attributes
- Inherited from:
- LoggerSupport
Concrete fields
In this article