sealed trait LoggerContext extends AutoCloseable

Provides a context for generating loggers during task evaluation. The logger context can be initialized for a single command evaluation run and all of the resources created (such as cached logger appenders) can be cleaned up after task evaluation. This trait evolved out of LogExchange when it became clear that it was very difficult to manage the loggers and appenders without introducing memory leaks.

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

Abstract Value Members

  1. abstract def addAppender(loggerName: String, appender: (Appender, Level.Value)): Unit
  2. abstract def appenders(loggerName: String): Seq[Appender]
  3. abstract def clearAppenders(loggerName: String): Unit
  4. abstract def close(): Unit
    Definition Classes
    AutoCloseable
    Annotations
    @throws( classOf[java.lang.Exception] )
  5. abstract def logger(name: String, channelName: Option[String], execId: Option[String]): ManagedLogger
  6. abstract def remove(name: String): Unit