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
- Serializable
- Product
- Equals
- LoggerSupport
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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( ... ) @native() @IntrinsicCandidate()
- val data: Map[String, () ⇒ Any]
-
def
debug(messages: LoggableMessage*)(implicit pkg: Pkg, fileName: FileName, name: Name, line: Line, mdc: MDC): Unit
- Definition Classes
- 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
- 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, mdc: MDC): Unit
- Definition Classes
- LoggerSupport
- def get(key: String): Option[Any]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- 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, mdc: MDC): Unit
- Definition Classes
- LoggerSupport
- lazy val isEmpty: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
log(record: LogRecord): Unit
- Definition Classes
- Logger → LoggerSupport
-
def
log(level: Level, mdc: MDC, 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 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() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def orphan(): Logger
- val overrideClassName: Option[String]
- val parentId: Option[LoggerId]
- 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, mdc: MDC): Unit
- Definition Classes
- LoggerSupport
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
warn(messages: LoggableMessage*)(implicit pkg: Pkg, fileName: FileName, name: Name, line: Line, mdc: MDC): 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
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated