scribe
package scribe
Type members
Classlikes
case class Logger(parentId: Option[LoggerId], modifiers: List[LogModifier], handlers: List[LogHandler], overrideClassName: Option[String], data: Map[String, () => Any], id: LoggerId) extends LoggerSupport[Unit]
- Companion:
- object
trait Logging
Logging is a mix-in to conveniently add logging support to any class or object.
Logging is a mix-in to conveniently add logging support to any class or object.
class LoggingOutputStream(loggerId: LoggerId, level: Level, className: String, methodName: Option[String]) extends OutputStream
Value members
Concrete methods
override def log(level: Level, mdc: MDC, messages: LoggableMessage*)(implicit pkg: Pkg, fileName: FileName, name: Name, line: Line): Unit
- Definition Classes
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
- Inherited from:
- LoggerSupport
def debug(messages: LoggableMessage*)(implicit pkg: Pkg, fileName: FileName, name: Name, line: Line, mdc: MDC): Unit
- 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
- Inherited from:
- LoggerSupport
def error(messages: LoggableMessage*)(implicit pkg: Pkg, fileName: FileName, name: Name, line: Line, mdc: MDC): Unit
- Inherited from:
- LoggerSupport
def info(messages: LoggableMessage*)(implicit pkg: Pkg, fileName: FileName, name: Name, line: Line, mdc: MDC): Unit
- Inherited from:
- LoggerSupport
def trace(messages: LoggableMessage*)(implicit pkg: Pkg, fileName: FileName, name: Name, line: Line, mdc: MDC): Unit
- Inherited from:
- LoggerSupport
def warn(messages: LoggableMessage*)(implicit pkg: Pkg, fileName: FileName, name: Name, line: Line, mdc: MDC): Unit
- Inherited from:
- LoggerSupport