Inheritance diagram for Appender:
Public Member Functions | |
uint | getMask () |
char[] | getName () |
void | append (Event event) |
this () | |
void | setLayout (Layout layout) |
Layout | getLayout () |
void | setNext (Appender next) |
Appender | getNext () |
void | close () |
Static Protected Member Functions | |
uint | nextMask () |
Private Attributes | |
Appender | next |
Layout | layout |
Definition at line 52 of file Appender.d.
|
Return the mask used to identify this Appender. The mask is used to figure out whether an appender has already been invoked for a particular logger. Reimplemented in ConsoleAppender, FileAppender, NullAppender, RollingFileAppender, SocketAppender, and StdioAppender. Referenced by LoggerInstance::append(). |
|
Return the name of this Appender. Reimplemented in ConsoleAppender, FileAppender, NullAppender, RollingFileAppender, SocketAppender, and StdioAppender. |
|
Append a message to the output. Reimplemented in ConsoleAppender, FileAppender, NullAppender, RollingFileAppender, SocketAppender, and StdioAppender. Referenced by LoggerInstance::append(). |
|
Create an Appender and default its layout to SimpleLayout. Reimplemented in ConsoleAppender, ConsoleAppender, FileAppender, FileAppender, NullAppender, NullAppender, RollingFileAppender, SocketAppender, StdioAppender, and StdioAppender. Definition at line 89 of file Appender.d. References layout. |
|
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(), FileAppender::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(), FileAppender::this(), and ConsoleAppender::this(). |
|
Return the current Layout Definition at line 129 of file Appender.d. References 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(). |
|
Close this appender. This would be used for file, sockets, and such like. Reimplemented in FileAppender, and SocketAppender. Definition at line 163 of file Appender.d. |
|
Definition at line 54 of file Appender.d. |
|
Definition at line 55 of file Appender.d. Referenced by getLayout(), and this(). |