Package

scribe

Permalink

package scribe

Linear Supertypes
LoggerSupport, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. scribe
  2. LoggerSupport
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit class AnyLogging extends AnyRef

    Permalink
  2. class Level extends AnyRef

    Permalink
  3. trait LogHandler extends AnyRef

    Permalink
  4. class LogRecord extends AnyRef

    Permalink
  5. case class Logger(parentName: Option[String] = Some(Logger.rootName), multiplier: Double = 1.0) extends LoggerSupport with Product with Serializable

    Permalink

    Logger is the class to which all logging calls are made.

    Logger is the class to which all logging calls are made. The primary use-case of Logger is via use of the Logging trait that may be mixed-in to any class.

    parentName

    the name of the parent logger if there is one (defaults to the root logger)

    multiplier

    the multiplier that should be applied to boost the value of all messages routed through this logger (Defaults to 1.0)

  6. trait LoggerSupport extends AnyRef

    Permalink
  7. trait Logging extends AnyRef

    Permalink

    Logging is a mix-in to conveniently add logging support to any class or object.

  8. case class StandardLogHandler(level: Level, formatter: Formatter, writer: Writer) extends LogHandler with Product with Serializable

    Permalink

Abstract Value Members

  1. abstract def multiplier: Double

    Permalink
    Definition Classes
    LoggerSupport
  2. abstract def name: Option[String]

    Permalink
    Definition Classes
    LoggerSupport
  3. abstract def parentName: Option[String]

    Permalink
    Definition Classes
    LoggerSupport

Concrete Value Members

  1. object Level

    Permalink
  2. object LogHandler

    Permalink
  3. object LogRecord

    Permalink
  4. object Logger extends Serializable

    Permalink
  5. object Macros

    Permalink
  6. object Platform

    Permalink
  7. def accepts(value: Double): Boolean

    Permalink

    Returns true if the supplied value will be accepted by a handler of this logger or an ancestor (up the parent tree)

    Returns true if the supplied value will be accepted by a handler of this logger or an ancestor (up the parent tree)

    Definition Classes
    LoggerSupport
  8. def addHandler(handler: LogHandler): Unit

    Permalink

    Adds a handler that will receive log records submitted to this logger and any descendant loggers.

    Adds a handler that will receive log records submitted to this logger and any descendant loggers.

    Definition Classes
    LoggerSupport
  9. def clearHandlers(): Unit

    Permalink

    Removes all handlers currently on this logger.

    Removes all handlers currently on this logger.

    Definition Classes
    LoggerSupport
  10. macro def debug(t: ⇒ Throwable): Unit

    Permalink
    Definition Classes
    LoggerSupport
  11. macro def debug(message: ⇒ Any): Unit

    Permalink

    Debug log entry.

    Debug log entry. Uses Macros to optimize performance.

    Definition Classes
    LoggerSupport
  12. macro def error(t: ⇒ Throwable): Unit

    Permalink

    Error log entry.

    Error log entry. Uses Macros to optimize performance.

    Definition Classes
    LoggerSupport
  13. macro def error(message: ⇒ Any): Unit

    Permalink

    Error log entry.

    Error log entry. Uses Macros to optimize performance.

    Definition Classes
    LoggerSupport
  14. package formatter

    Permalink
  15. macro def info(t: ⇒ Throwable): Unit

    Permalink
    Definition Classes
    LoggerSupport
  16. macro def info(message: ⇒ Any): Unit

    Permalink

    Info log entry.

    Info log entry. Uses Macros to optimize performance.

    Definition Classes
    LoggerSupport
  17. def log(record: LogRecord): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggerSupport
  18. def log(level: Level, message: ⇒ Any, className: String, methodName: Option[String] = None, lineNumber: Int = 1): Unit

    Permalink

    Log method invoked by trace, debug, info, warn, and error.

    Log method invoked by trace, debug, info, warn, and error. Ideally should not be called directly as it will not be able to take advantage of Macro optimizations.

    level

    the logging level

    message

    function to derive the message for the log

    methodName

    the method name if applicable

    lineNumber

    the line number the logging was invoked on

    Definition Classes
    LoggerSupport
  19. def parent: Option[Logger]

    Permalink
    Definition Classes
    LoggerSupport
  20. def removeHandler(handler: LogHandler): Unit

    Permalink

    Removes an handler that was previously added to this logger.

    Removes an handler that was previously added to this logger.

    Definition Classes
    LoggerSupport
  21. macro def trace(t: ⇒ Throwable): Unit

    Permalink
    Definition Classes
    LoggerSupport
  22. macro def trace(message: ⇒ Any): Unit

    Permalink

    Trace log entry.

    Trace log entry. Uses Macros to optimize performance.

    Definition Classes
    LoggerSupport
  23. macro def warn(t: ⇒ Throwable): Unit

    Permalink
    Definition Classes
    LoggerSupport
  24. macro def warn(message: ⇒ Any): Unit

    Permalink

    Warn log entry.

    Warn log entry. Uses Macros to optimize performance.

    Definition Classes
    LoggerSupport
  25. package writer

    Permalink

Inherited from LoggerSupport

Inherited from AnyRef

Inherited from Any

Ungrouped