Appender

Base class for all Appenders

Constructors

this
this()

Create an Appender and default its layout to LayoutTimer.

Members

Functions

append
void append(LogEvent event)

Append a message to the output.

close
void close()

Close this appender. This would be used for file, sockets, and the like

layout
void layout(Layout how)

Set the current layout to be that of the argument, or the generic layout where the argument is null

layout
Layout layout()

Return the current Layout

level
ILogger.Level level()

Return the current Level setting

level
Appender level(ILogger.Level l)

Return the current Level setting

mask
Mask mask()

Return the mask used to identify this Appender.

name
cstring name()

Return the name of this Appender.

next
void next(Appender appender)

Attach another appender to this one

next
Appender next()

Return the next appender in the list

register
Mask register(cstring tag)

Static method to return a mask for identifying the Appender.

Interfaces

Layout
interface Layout

Interface for all logging layout instances

Meta