case class Logger(parentId: Option[LoggerId] = Some(Logger.RootId), modifiers: List[LogModifier] = Nil, handlers: List[LogHandler] = Nil, overrideClassName: Option[String] = None, data: Map[String, () => Any] = Map.empty, id: LoggerId = LoggerId()) extends LoggerSupport[Unit] with Product with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Logger
- Serializable
- Product
- Equals
- LoggerSupport
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Logger(parentId: Option[LoggerId] = Some(Logger.RootId), modifiers: List[LogModifier] = Nil, handlers: List[LogHandler] = Nil, overrideClassName: Option[String] = None, data: Map[String, () => Any] = Map.empty, id: LoggerId = LoggerId())
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
- def apply[Return](keyValues: (String, Any)*)(f: => Return): Return
Contextualize key/value pairs set on MDC.
Contextualize key/value pairs set on MDC. This will be made avoid on each log record within
- keyValues
tuples of key/value pairs to set on MDC
- f
the context for which these MDC values are set
- Definition Classes
- LoggerSupport
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearHandlers(): Logger
- def clearModifiers(): Logger
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val data: Map[String, () => Any]
- def debug(messages: LoggableMessage*)(implicit pkg: Pkg, fileName: FileName, name: Name, line: Line): Unit
- Definition Classes
- LoggerSupport
- def elapsed[Return](f: => Return): Return
Includes MDC elapsed to show elapsed time within the block
Includes MDC elapsed to show elapsed time within the block
- f
the code block to time
- Definition Classes
- LoggerSupport
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def error(messages: LoggableMessage*)(implicit pkg: Pkg, fileName: FileName, name: Name, line: Line): Unit
- Definition Classes
- LoggerSupport
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def get(key: String): Option[Any]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val handlers: List[LogHandler]
- val id: LoggerId
- def includes(level: Level): Boolean
- def info(messages: LoggableMessage*)(implicit pkg: Pkg, fileName: FileName, name: Name, line: Line): Unit
- Definition Classes
- LoggerSupport
- lazy val isEmpty: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def log(record: LogRecord): Unit
- Definition Classes
- Logger → LoggerSupport
- def log(level: Level, messages: LoggableMessage*)(implicit pkg: Pkg, fileName: FileName, name: Name, line: Line): Unit
- Definition Classes
- Logger → LoggerSupport
- def logDirect(level: Level, messages: List[LoggableMessage] = Nil, fileName: String = "", className: String = "", methodName: Option[String] = None, line: Option[Int] = None, column: Option[Int] = None, thread: Thread = Thread.currentThread(), timeStamp: Long = Time()): Unit
- def logInternal(record: LogRecord): Unit
- Attributes
- protected
- def modifierById[M <: LogModifier](id: String, recursive: Boolean): Option[M]
- val modifiers: List[LogModifier]
- 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()
- def orphan(): Logger
- val overrideClassName: Option[String]
- val parentId: Option[LoggerId]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def replace(name: Option[String] = None): Logger
- def reset(): Logger
- def set(key: String, value: => Any): Logger
- def setModifiers(modifiers: List[LogModifier]): Logger
- def shouldLog(record: LogRecord): Boolean
- Attributes
- protected
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def trace(messages: LoggableMessage*)(implicit pkg: Pkg, fileName: FileName, name: Name, line: Line): Unit
- Definition Classes
- LoggerSupport
- 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()
- def warn(messages: LoggableMessage*)(implicit pkg: Pkg, fileName: FileName, name: Name, line: Line): Unit
- Definition Classes
- LoggerSupport
- def withBoost(booster: (Double) => Double, priority: Priority = Priority.Normal): Logger
- def withBoostOneLevel(): Logger
- def withBoosted(minimumLevel: Level, destinationLevel: Level): Logger
- def withClassNameOverride(className: String): Logger
- def withHandler(formatter: Formatter = Formatter.default, writer: Writer = ConsoleWriter, minimumLevel: Option[Level] = None, modifiers: List[LogModifier] = Nil, outputFormat: OutputFormat = OutputFormat.default, handle: LogHandle = SynchronousLogHandle): Logger
- def withHandler(handler: LogHandler): Logger
- def withMinimumLevel(level: Level): Logger
- final def withModifier(modifier: LogModifier): Logger
- def withParent(id: LoggerId): Logger
- def withParent(logger: Logger): Logger
- def withParent(name: String): Logger
- def withoutHandler(handler: LogHandler): Logger
- final def withoutModifier(modifier: LogModifier): Logger