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. case class ANSI(ansi: String, type: String, default: String) extends Product with Serializable
  2. implicit class AnyLogging extends AnyRef
  3. class Level extends Ordered[Double]
  4. trait LogRecord[M] extends AnyRef
  5. trait LogSupport[L <: LogSupport[L]] extends AnyRef
  6. trait Loggable[-T] extends AnyRef
  7. case class Logger(parentId: Option[Long] = Some(Logger.rootId), modifiers: List[LogModifier] = Nil, handlers: List[LogHandler] = Nil, overrideClassName: Option[String] = None, id: Long = Random.nextLong()) extends LogSupport[Logger] with LoggerSupport with Product with Serializable
  8. trait LoggerSupport extends AnyRef
  9. trait Logging extends AnyRef

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

  10. class LoggingExecutionContext extends ExecutionContext
  11. class MDC extends AnyRef
  12. case class Position(className: String, methodName: Option[String], line: Option[Int], column: Option[Int], fileName: String) extends Product with Serializable
  13. final class Priority extends AnyVal with Ordered[Priority]

Abstract Value Members

  1. abstract def log[M](record: LogRecord[M]): Unit
    Definition Classes
    LoggerSupport

Concrete Value Members

  1. def async[Return](f: ⇒ Return): Return

    Updates Throwables fired within the supplied function to include positional information tying back up the asynchronous chain.

    Updates Throwables fired within the supplied function to include positional information tying back up the asynchronous chain. This should only be necessary if you have no control over the creation of Futures in your code. Ideally, just use scribe.future instead.

    Use this as a function wrapper to fix Throwable instances. This must be coupled with:

    import scribe.Execution.global

    Or there will be no stack to inject.

    Return

    the return type of the wrapped function

    f

    the functional that may throw a Throwable

  2. macro def debug[M](message: ⇒ M, t: Throwable)(implicit arg0: Loggable[M]): Unit
    Definition Classes
    LoggerSupport
  3. macro def debug[M](message: ⇒ M)(implicit arg0: Loggable[M]): Unit
    Definition Classes
    LoggerSupport
  4. var disposables: Set[() ⇒ Unit]
    Attributes
    protected
  5. def dispose(): Unit
  6. macro def error[M](message: ⇒ M, t: Throwable)(implicit arg0: Loggable[M]): Unit
    Definition Classes
    LoggerSupport
  7. macro def error[M](message: ⇒ M)(implicit arg0: Loggable[M]): Unit
    Definition Classes
    LoggerSupport
  8. macro def future[Return](f: ⇒ Return): Future[Return]

    Convenience method to create a Future with the Scribe ExecutionContext to properly track tracing up the chain for asynchronous operations.

    Convenience method to create a Future with the Scribe ExecutionContext to properly track tracing up the chain for asynchronous operations. When using this, no other operation should be necessary. However, if you map to other future operations that require an ExecutionContext, make sure to use import scribe.Execution.global instead of the default global ExecutionContext or the stack data will be lost.

    Return

    the return type for the code

    f

    the function to run in a new Future

  9. macro def info[M](message: ⇒ M, t: Throwable)(implicit arg0: Loggable[M]): Unit
    Definition Classes
    LoggerSupport
  10. macro def info[M](message: ⇒ M)(implicit arg0: Loggable[M]): Unit
    Definition Classes
    LoggerSupport
  11. macro def log[M](level: Level, message: ⇒ M, throwable: Option[Throwable])(implicit loggable: Loggable[M]): Unit
    Definition Classes
    LoggerSupport
  12. macro def trace[M](message: ⇒ M, t: Throwable)(implicit arg0: Loggable[M]): Unit
    Definition Classes
    LoggerSupport
  13. macro def trace[M](message: ⇒ M)(implicit arg0: Loggable[M]): Unit
    Definition Classes
    LoggerSupport
  14. macro def warn[M](message: ⇒ M, t: Throwable)(implicit arg0: Loggable[M]): Unit
    Definition Classes
    LoggerSupport
  15. macro def warn[M](message: ⇒ M)(implicit arg0: Loggable[M]): Unit
    Definition Classes
    LoggerSupport
  16. object ANSI extends Serializable
  17. object Execution
  18. object Level
  19. object LogRecord
  20. object Loggable
  21. object Logger extends Serializable
  22. object MDC
  23. object Macros
    Annotations
    @compileTimeOnly( "Enable macros to expand" )
  24. object Platform
  25. object Position extends Serializable
  26. object Priority

Inherited from LoggerSupport

Inherited from AnyRef

Inherited from Any

Ungrouped