scribe

package scribe

Type members

Classlikes

object ANSI
Companion:
class
case class ANSI(ansi: String, `type`: String, default: String)
Companion:
object
implicit class AnyLogging(value: Any)
object Execution
case class Level(name: String, value: Double)
Companion:
object
object Level
Companion:
class
trait LogRecord
Companion:
object
Companion:
class
trait Loggable[-T]
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
object Logger
Companion:
class
final case class LoggerId(value: Long) extends AnyVal
Companion:
object
object LoggerId
Companion:
class
trait LoggerSupport[F]
Companion:
object
Companion:
class
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
Companion:
object
Companion:
class
final class Priority(val value: Double) extends AnyVal
Companion:
object
object Priority
Companion:
class

Value members

Concrete methods

def dispose(): Unit
def includes(level: Level)(implicit pkg: Pkg, fileName: FileName, name: Name, line: Line): Boolean
@inline
final override def log(record: LogRecord): Unit
Definition Classes
override def log(level: Level, mdc: MDC, messages: LoggableMessage*)(implicit pkg: Pkg, fileName: FileName, name: Name, line: Line): Unit
Definition Classes

Inherited methods

def apply[Return](keyValues: (String, Any)*)(f: => Return): Return

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
def elapsed[Return](f: => Return)(implicit mdc: MDC): Return

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

Concrete fields

lazy val lineSeparator: String

Implicits

Implicits

final implicit def AnyLogging(value: Any): AnyLogging
implicit def level2Double(level: Level): Double