p
scribe
package scribe
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- scribe
- LoggerSupport
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- case class ANSI(ansi: String, type: String, default: String) extends Product with Serializable
- implicit class AnyLogging extends AnyRef
- case class Level(name: String, value: Double) extends LogFeature with Product with Serializable
- trait LogFeature extends AnyRef
- case class LogRecord(level: Level, levelValue: Double, messages: List[LoggableMessage], fileName: String, className: String, methodName: Option[String], line: Option[Int], column: Option[Int], thread: Thread = Thread.currentThread(), data: Map[String, () ⇒ Any] = Map.empty, timeStamp: Long = Time()) extends Product with Serializable
- trait LogRecordCreator extends AnyRef
- trait Loggable[-T] extends AnyRef
- 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
- final case class LoggerId(value: Long) extends AnyVal with Product with Serializable
- trait LoggerSupport[F] extends Any
-
trait
Logging extends AnyRef
Logging is a mix-in to conveniently add logging support to any class or object.
- class LoggingOutputStream extends OutputStream
- trait MinimumLevel extends AnyRef
- trait PlatformImplementation extends AnyRef
- final class Priority extends AnyVal
Abstract Value Members
-
abstract
def
getClass(): Class[_]
- Definition Classes
- Any
-
abstract
def
log(record: LogRecord): Unit
- Definition Classes
- LoggerSupport
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- 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
boost(booster: (Double) ⇒ Double): LogFeature
LogFeature convenience functionality to set a booster on a log
-
def
data(key: String, value: ⇒ Any): LogFeature
LogFeature convenience functionality to set data on a log
-
def
debug(features: LogFeature*)(implicit pkg: Pkg, fileName: FileName, name: Name, line: Line, mdc: MDC): Unit
- Definition Classes
- LoggerSupport
-
var
disposables: Set[() ⇒ Unit]
- Attributes
- protected
- def dispose(): Unit
-
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
-
def
equals(arg0: Any): Boolean
- Definition Classes
- Any
-
def
error(features: LogFeature*)(implicit pkg: Pkg, fileName: FileName, name: Name, line: Line, mdc: MDC): Unit
- Definition Classes
- LoggerSupport
-
def
hashCode(): Int
- Definition Classes
- Any
- def includes(level: Level)(implicit pkg: Pkg, fileName: FileName, name: Name, line: Line): Boolean
-
def
info(features: LogFeature*)(implicit pkg: Pkg, fileName: FileName, name: Name, line: Line, mdc: MDC): Unit
- Definition Classes
- LoggerSupport
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- implicit def level2Double(level: Level): Double
- lazy val lineSeparator: String
-
def
log(level: Level, mdc: MDC, features: LogFeature*)(implicit pkg: Pkg, fileName: FileName, name: Name, line: Line): Unit
- Definition Classes
- LoggerSupport
-
def
thread(thread: Thread): LogFeature
LogFeature convenience functionality to override the default thread on a log
-
def
timeStamp(timeStamp: Long): LogFeature
LogFeature convenience functionality to override the timeStamp on a log
-
def
toString(): String
- Definition Classes
- Any
-
def
trace(features: LogFeature*)(implicit pkg: Pkg, fileName: FileName, name: Name, line: Line, mdc: MDC): Unit
- Definition Classes
- LoggerSupport
-
def
warn(features: LogFeature*)(implicit pkg: Pkg, fileName: FileName, name: Name, line: Line, mdc: MDC): Unit
- Definition Classes
- LoggerSupport
- object ANSI extends Serializable
- object Execution
- object Level extends Serializable
- object LogFeature
- object LogRecord extends Serializable
- object Logger extends Serializable
- object LoggerId extends Serializable
- object LoggerSupport
- object MinimumLevel
- object Platform extends PlatformImplementation
- object Priority