Filer

Base class for file appenders

Members

Functions

close
void close()

Close the file associated with this Appender

configure
Bout configure(IConduit conduit)

Set the conduit

Properties

conduit
IConduit conduit [@property getter]

Return the conduit

Variables

buffer
Bout buffer;
Undocumented in source.

Inherited Members

From Appender

Mask
alias Mask = int
Undocumented in source.
Layout
interface Layout

Interface for all logging layout instances

mask
Mask mask [@property getter]

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.

name
const(char)[] name [@property getter]

Return the name of this Appender.

append
void append(LogEvent event)

Append a message to the output.

level
Level level [@property getter]

Return the current Level setting

level
Level level [@property setter]

Return the current Level setting

register
Mask register(const(char)[] tag)

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.

layout
Layout layout [@property setter]

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

layout
Layout layout [@property getter]

Return the current Layout

next
Appender next [@property setter]

Attach another appender to this one

next
Appender next [@property getter]

Return the next appender in the list

close
void close()

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

Meta