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
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LoggerFactory
  2. Serializable
  3. Product
  4. Equals
  5. Function0
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    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. def productElementNames: Iterator[String]
    Definition Classes
    Product
  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    Function0 → AnyRef → Any
  20. val useParents: Boolean
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from () => Logger

Inherited from AnyRef

Inherited from Any

Ungrouped