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.
- Alphabetic
- By Inheritance
- LoggerFactory
- Serializable
- Serializable
- Product
- Equals
- Function0
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(): Logger
Registers new handlers and setting with the logger at
nodeRegisters new handlers and setting with the logger at
node- Definition Classes
- LoggerFactory → Function0
- Note
It clears all the existing handlers for the node
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val handlers: List[HandlerFactory]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val level: Option[Level]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val node: String
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Function0 → AnyRef → Any
- val useParents: Boolean
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()