Inheritance diagram for VersionMango::FileAppender:
Public Member Functions | |
this (FilePath fp) | |
this (FilePath fp, Layout layout) | |
~this () | |
IConduit | getConduit () |
uint | getMask () |
char[] | getName () |
synchronized void | append (Event event) |
synchronized void | close () |
Static Public Member Functions | |
this () | |
Protected Member Functions | |
this () | |
IBuffer | setConduit (IConduit conduit) |
Private Member Functions | |
void | setLayout (Layout layout) |
Layout | getLayout () |
void | setNext (Appender next) |
Appender | getNext () |
Static Private Member Functions | |
uint | nextMask () |
Private Attributes | |
IBuffer | buffer |
IConduit | conduit |
Static Private Attributes | |
uint | mask |
Definition at line 58 of file FileAppender.d.
|
Make sure the file is closed when we're GC'd Definition at line 114 of file FileAppender.d. |
|
Get a unique fingerprint for this class Reimplemented from Appender. Reimplemented in VersionMango::RollingFileAppender. Definition at line 70 of file FileAppender.d. |
|
Create an Appender and default its layout to SimpleLayout. Reimplemented from Appender. Reimplemented in VersionMango::RollingFileAppender. Definition at line 79 of file FileAppender.d. |
|
Create a basic FileAppender to a file with the specified path. Definition at line 90 of file FileAppender.d. |
|
Create a basic FileAppender to a file with the specified path, and with the given Layout Definition at line 102 of file FileAppender.d. |
|
Return the conduit Definition at line 125 of file FileAppender.d. |
|
Set the conduit Definition at line 136 of file FileAppender.d. References IConduit::createBuffer(). |
|
Return the fingerprint for this class Reimplemented from Appender. Reimplemented in VersionMango::RollingFileAppender. Definition at line 149 of file FileAppender.d. |
|
Return the name of this class Reimplemented from Appender. Reimplemented in VersionMango::RollingFileAppender. Definition at line 160 of file FileAppender.d. |
|
Append an event to the output. Reimplemented from Appender. Reimplemented in VersionMango::RollingFileAppender. Definition at line 171 of file FileAppender.d. References Layout::content(), IConduit::flush(), Layout::footer(), and Layout::header(). |
|
Close the file associated with this Appender Reimplemented from Appender. Definition at line 187 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(), NullAppender::this(), and ConsoleAppender::this(). |
|
Set the current layout to be that of the argument. Definition at line 121 of file Appender.d. Referenced by SocketAppender::this(), NullAppender::this(), and ConsoleAppender::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. Referenced by LoggerInstance::append(). |
|
Reimplemented in VersionMango::RollingFileAppender. Definition at line 60 of file FileAppender.d. |
|
Reimplemented in VersionMango::RollingFileAppender. Definition at line 61 of file FileAppender.d. |
|
Definition at line 62 of file FileAppender.d. |