p

scribe

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
  2. class Level extends AnyRef
  3. trait LogHandler extends AnyRef
  4. class LogRecord extends AnyRef
  5. case class Logger (parentName: Option[String] = Some(Logger.rootName), multiplier: Double = 1.0) extends LoggerSupport with Product with Serializable

    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
  7. trait Logging extends AnyRef

    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

Abstract Value Members

  1. abstract def multiplier: Double
    Definition Classes
    LoggerSupport
  2. abstract def name: Option[String]
    Definition Classes
    LoggerSupport
  3. abstract def parentName: Option[String]
    Definition Classes
    LoggerSupport

Concrete Value Members

  1. def accepts(value: Double): Boolean

    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
  2. def addHandler(handler: LogHandler): Unit

    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
  3. def clearHandlers(): Unit

    Removes all handlers currently on this logger.

    Removes all handlers currently on this logger.

    Definition Classes
    LoggerSupport
  4. macro def debug(t: ⇒ Throwable): Unit
    Definition Classes
    LoggerSupport
  5. macro def debug(message: ⇒ Any): Unit

    Debug log entry.

    Debug log entry. Uses Macros to optimize performance.

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

    Error log entry.

    Error log entry. Uses Macros to optimize performance.

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

    Error log entry.

    Error log entry. Uses Macros to optimize performance.

    Definition Classes
    LoggerSupport
  8. macro def info(t: ⇒ Throwable): Unit
    Definition Classes
    LoggerSupport
  9. macro def info(message: ⇒ Any): Unit

    Info log entry.

    Info log entry. Uses Macros to optimize performance.

    Definition Classes
    LoggerSupport
  10. def log(record: LogRecord): Unit
    Attributes
    protected
    Definition Classes
    LoggerSupport
  11. def log(level: Level, message: ⇒ Any, className: String, methodName: Option[String] = None, lineNumber: Int = 1, stringify: (Any) ⇒ String = LogRecord.DefaultStringify): Unit

    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

    stringify

    the conversion function to generate a String from the message. Defaults to LogRecord.DefaultStringify.

    Definition Classes
    LoggerSupport
  12. def parent: Option[Logger]
    Definition Classes
    LoggerSupport
  13. def removeHandler(handler: LogHandler): Unit

    Removes an handler that was previously added to this logger.

    Removes an handler that was previously added to this logger.

    Definition Classes
    LoggerSupport
  14. macro def trace(t: ⇒ Throwable): Unit
    Definition Classes
    LoggerSupport
  15. macro def trace(message: ⇒ Any): Unit

    Trace log entry.

    Trace log entry. Uses Macros to optimize performance.

    Definition Classes
    LoggerSupport
  16. macro def warn(t: ⇒ Throwable): Unit
    Definition Classes
    LoggerSupport
  17. macro def warn(message: ⇒ Any): Unit

    Warn log entry.

    Warn log entry. Uses Macros to optimize performance.

    Definition Classes
    LoggerSupport
  18. object Level
  19. object LogHandler
  20. object LogRecord
  21. object Logger extends Serializable
  22. object Macros
  23. object Platform

Inherited from LoggerSupport

Inherited from AnyRef

Inherited from Any

Ungrouped