class FileHandler extends Handler
Simple file handler that appends to a file. args must contain:
- path: Pathname of file
args may also contain:
- append: "true" (as a string) to append, "false" to overwrite. Default:
"false".
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- FileHandler
- Handler
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new FileHandler(args: ConfiguredArguments, formatter: Formatter, level: LogLevel)
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
- val append: Boolean
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val file: File
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- val formatter: Formatter
The formatter associated with the handler.
The formatter associated with the handler.
- Definition Classes
- FileHandler → Handler
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val level: LogLevel
The log level associated with the handler.
The log level associated with the handler.
- Definition Classes
- FileHandler → Handler
- def log(message: String, logMessage: LogMessage): Unit
Log a message, wherever the handler logs its output.
Log a message, wherever the handler logs its output. The method will only be called if the message's level is below or equal to the level associated with the handler.
- message
the already-formatted message to log
- logMessage
the raw log message, in case the pieces are needed
- Definition Classes
- FileHandler → Handler
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val sAppend: String
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()