Inheritance diagram for VersionMango::FileAppender:
Public Member Functions | |
this (FilePath fp) | |
this (FilePath fp, Layout layout) | |
~this () | |
IConduit | getConduit () |
IWriter | setConduit (IConduit conduit) |
uint | getMask () |
char[] | getName () |
synchronized void | append (Event event) |
synchronized void | close () |
Static Public Member Functions | |
this () | |
Protected Member Functions | |
this () | |
Private Member Functions | |
void | setLayout (Layout layout) |
Layout | getLayout () |
void | setNext (Appender next) |
Appender | getNext () |
Static Private Member Functions | |
uint | nextMask () |
Private Attributes | |
DisplayWriter | writer |
IConduit | conduit |
Static Private Attributes | |
uint | mask |
Definition at line 53 of file FileAppender.d.
|
Make sure the file is closed when we're GC'd Definition at line 107 of file FileAppender.d. |
|
Get a unique fingerprint for this class Reimplemented from Appender. Reimplemented in VersionMango::RollingFileAppender. Definition at line 65 of file FileAppender.d. |
|
Create an Appender and default its layout to SimpleLayout. Reimplemented from Appender. Reimplemented in VersionMango::RollingFileAppender. Definition at line 74 of file FileAppender.d. |
|
Create a basic FileAppender to a file with the specified path. Definition at line 83 of file FileAppender.d. |
|
Create a basic FileAppender to a file with the specified path, and with the given Layout Definition at line 95 of file FileAppender.d. |
|
Return the conduit Definition at line 118 of file FileAppender.d. |
|
Set the conduit Definition at line 129 of file FileAppender.d. References DisplayWriter. |
|
Return the fingerprint for this class Reimplemented from Appender. Reimplemented in VersionMango::RollingFileAppender. Definition at line 145 of file FileAppender.d. |
|
Return the name of this class Reimplemented from Appender. Reimplemented in VersionMango::RollingFileAppender. Definition at line 156 of file FileAppender.d. |
|
Append an event to the output. Reimplemented from Appender. Reimplemented in VersionMango::RollingFileAppender. Definition at line 167 of file FileAppender.d. References IConduit::flush(). |
|
Close the file associated with this Appender Reimplemented from Appender. Definition at line 178 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 103 of file Appender.d. Referenced by NullAppender::this(), and ConsoleAppender::this(). |
|
Set the current layout to be that of the argument. Definition at line 118 of file Appender.d. Referenced by NullAppender::this(), and ConsoleAppender::this(). |
|
Return the current Layout Definition at line 129 of file Appender.d. References Appender::layout. |
|
Attach another appender to this one Definition at line 140 of file Appender.d. Referenced by LoggerInstance::addAppender(). |
|
Return the next appender in the list Definition at line 151 of file Appender.d. Referenced by LoggerInstance::append(). |
|
Reimplemented in VersionMango::RollingFileAppender. Definition at line 55 of file FileAppender.d. |
|
Reimplemented in VersionMango::RollingFileAppender. Definition at line 56 of file FileAppender.d. |
|
Definition at line 57 of file FileAppender.d. |