|
|
| closeFile () |
| | Closes the file.
|
| |
| | constructor (*string name, LoggerLayout layout, string filename, *string encoding) |
| | Creates the appender with the supplied arguments.
|
| |
| | constructor (LoggerLayout layout, string filename, *string encoding) |
| | Creates the appender with the supplied arguments.
|
| |
|
File | getFile () |
| | Returns the file object for the appender.
|
| |
|
string | getFileName () |
| | Returns the current filename.
|
| |
|
| openFile () |
| | Opens the file.
|
| |
| | processEventImpl (int type, auto params) |
| | Processes open, close, and log events with the file and ignores all other events.
|
| |
|
| reopen () |
| | Reopens the file atomically.
|
| |
|
| constructor (LoggerLayout layout) |
| | Creates the object.
|
| |
|
| constructor (*string name, LoggerLayout layout) |
| | Creates the object.
|
| |
|
LoggerLayout | getLayout () |
| | Returns the layout for the appender.
|
| |
| | setLayout (LoggerLayout layout) |
| | Assigns a layout to the appender.
|
| |
| | addFilter (LoggerFilter filter, bool top=False) |
| | Adds a filter to the chain.
|
| |
|
| close () |
| | Releases any resources allocated by the appender and closes it.
|
| |
|
| constructor () |
| | Creates the object.
|
| |
| | constructor (string name) |
| | Creates the object.
|
| |
| list< LoggerFilter > | getFilters () |
| | Returns the filter chain as a list.
|
| |
|
string | getName () |
| | Returns the appender name.
|
| |
|
*LoggerAppenderQueue | getQueue () |
| | Returns async queue or NOTHING when events are processed synchronously.
|
| |
|
bool | isOpen () |
| | Returns True if the appender is open and therefore active.
|
| |
| | open () |
| | Opens logging resources.
|
| |
| bool | post (LoggerEvent event) |
| | Posts the given event to the output queue.
|
| |
| | processEvent (int type, auto params) |
| | Processes an event to the physical target.
|
| |
| abstract | processEventImpl (int type, auto params) |
| | Processes the event to the physical target.
|
| |
|
| removeAllFilters () |
| | Clears the filter chain by removing all filters.
|
| |
| | removeFilter (LoggerFilter filter) |
| | Removes the given filter from the filter chain.
|
| |
| | setQueue (*LoggerAppenderQueue queue) |
| | Sets the appender queue.
|
| |
Implements appender writing to a file.
No multi-threading protection is implemented in the class; the File class is reused