Inheritance diagram for VersionIsolated::FileAppender:
Public Member Functions | |
this (char[] fp) | |
this (char[] fp, Layout layout) | |
~this () | |
File | getFile () |
uint | getMask () |
char[] | getName () |
synchronized void | append (Event event) |
synchronized void | close () |
Static Public Member Functions | |
static | this () |
Protected Member Functions | |
this () | |
void | setFile (File file) |
Private Member Functions | |
void | setLayout (Layout layout) |
Layout | getLayout () |
void | setNext (Appender next) |
Appender | getNext () |
Static Private Member Functions | |
static uint | nextMask () |
Private Attributes | |
File | file |
Static Private Attributes | |
static uint | mask |
Definition at line 55 of file FileAppender.d.
|
Make sure the file is closed when we're GC'd Definition at line 110 of file FileAppender.d. References close(). |
|
Get a unique fingerprint for this class Reimplemented from Appender. Definition at line 66 of file FileAppender.d. |
|
Create an Appender and default its layout to SimpleLayout. Reimplemented from Appender. Definition at line 75 of file FileAppender.d. |
|
Create a basic FileAppender to a file with the specified path. Definition at line 86 of file FileAppender.d. |
|
Create a basic FileAppender to a file with the specified path, and with the given Layout Definition at line 98 of file FileAppender.d. |
|
Return the file Definition at line 121 of file FileAppender.d. |
|
Set the file Definition at line 132 of file FileAppender.d. |
|
Return the fingerprint for this class Reimplemented from Appender. Definition at line 143 of file FileAppender.d. |
|
Return the name of this class Reimplemented from Appender. Definition at line 154 of file FileAppender.d. |
|
Append an event to the output. Reimplemented from Appender. Definition at line 165 of file FileAppender.d. References Layout::content(), Layout::footer(), and Layout::header(). |
|
Close the file associated with this Appender Reimplemented from Appender. Definition at line 181 of file FileAppender.d. |
|
Static method to return a mask for identifying the Appender. Each Appender class should have a unique fingerprint so that we can figure out which ones have been invoked for a given event. A bitmask is a simple an efficient way to do that. Definition at line 106 of file Appender.d. Referenced by SocketAppender::this(), and NullAppender::this(). |
|
Set the current layout to be that of the argument. Definition at line 121 of file Appender.d. Referenced by SocketAppender::this(), and NullAppender::this(). |
|
Return the current Layout Definition at line 132 of file Appender.d. References Appender::layout. |
|
Attach another appender to this one Definition at line 143 of file Appender.d. Referenced by LoggerInstance::addAppender(). |
|
Return the next appender in the list Definition at line 154 of file Appender.d. References Appender::next. Referenced by LoggerInstance::append(). |
|
Definition at line 57 of file FileAppender.d. |
|
Definition at line 58 of file FileAppender.d. |