Inheritance diagram for 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 51 of file FileAppender.d.
|
Make sure the file is closed when we're GC'd Definition at line 105 of file FileAppender.d. References close(). |
|
Get a unique fingerprint for this class Reimplemented from Appender. Reimplemented in RollingFileAppender. Definition at line 63 of file FileAppender.d. References Appender::nextMask(). |
|
Create an Appender and default its layout to SimpleLayout. Reimplemented from Appender. Reimplemented in RollingFileAppender. Definition at line 72 of file FileAppender.d. |
|
Create a basic FileAppender to a file with the specified path. Definition at line 81 of file FileAppender.d. References setConduit(). |
|
Create a basic FileAppender to a file with the specified path, and with the given Layout Definition at line 93 of file FileAppender.d. References Appender::setLayout(). |
|
Return the conduit Definition at line 116 of file FileAppender.d. |
|
Set the conduit Definition at line 127 of file FileAppender.d. References close(), and DisplayWriter. Referenced by RollingFileAppender::nextFile(), and this(). |
|
Return the fingerprint for this class Reimplemented from Appender. Reimplemented in RollingFileAppender. Definition at line 143 of file FileAppender.d. |
|
Return the name of this class Reimplemented from Appender. Reimplemented in RollingFileAppender. Definition at line 154 of file FileAppender.d. |
|
Append an event to the output. Reimplemented from Appender. Reimplemented in RollingFileAppender. Definition at line 165 of file FileAppender.d. References Layout::format(). |
|
Close the file associated with this Appender Reimplemented from Appender. Definition at line 176 of file FileAppender.d. References IResource::close(). Referenced by setConduit(), and ~this(). |
|
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 StdioAppender::this(), SocketAppender::this(), RollingFileAppender::this(), NullAppender::this(), this(), and ConsoleAppender::this(). |
|
Set the current layout to be that of the argument. Definition at line 118 of file Appender.d. Referenced by StdioAppender::this(), SocketAppender::this(), RollingFileAppender::this(), NullAppender::this(), 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 RollingFileAppender. Definition at line 53 of file FileAppender.d. |
|
Reimplemented in RollingFileAppender. Definition at line 54 of file FileAppender.d. |
|
Definition at line 55 of file FileAppender.d. |