case class LoggerFactory(node: String = "", level: Option[Level] = None, handlers: List[HandlerFactory] = Nil, useParents: Boolean = true) extends () ⇒ Logger with Product with Serializable

A factory to configure a Logger. Note that because Loggers are global, executing this factory has side-effects.

node

Name of the logging node. The default ("") is the top-level logger.

level

Log level for this node. Leaving it None is java's secret signal to use the parent logger's level.

handlers

Where to send log messages.

useParents

Override to have log messages stop at this node. Otherwise they are passed up to parent nodes.

Linear Supertypes
Serializable, Serializable, Product, Equals, () ⇒ Logger, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LoggerFactory
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Function0
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LoggerFactory(node: String = "", level: Option[Level] = None, handlers: List[HandlerFactory] = Nil, useParents: Boolean = true)

    node

    Name of the logging node. The default ("") is the top-level logger.

    level

    Log level for this node. Leaving it None is java's secret signal to use the parent logger's level.

    handlers

    Where to send log messages.

    useParents

    Override to have log messages stop at this node. Otherwise they are passed up to parent nodes.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(): Logger

    Registers new handlers and setting with the logger at node

    Registers new handlers and setting with the logger at node

    Definition Classes
    LoggerFactory → Function0
    Note

    It clears all the existing handlers for the node

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. val handlers: List[HandlerFactory]
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. val level: Option[Level]
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. val node: String
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    Function0 → AnyRef → Any
  19. val useParents: Boolean
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from () ⇒ Logger

Inherited from AnyRef

Inherited from Any

Ungrouped