AppendSysLog

syslog appender class

Constructors

this
this()

Constructor. Sets the layout to the static SysLogLayout instance.

Members

Functions

append
void append(LogEvent event)

Append an event to the output.

mask
Mask mask()

Return: the fingerprint for this class

name
istring name()

Static functions

setId
void setId(cstring id)

Sets the global syslog ID string for this program. Calling this function is optional; if it is not called, the program's name is used as the ID.

Inherited Members

From Appender

Layout
interface Layout

Interface for all logging layout instances

mask
Mask mask()

Return the mask used to identify this Appender.

name
cstring name()

Return the name of this Appender.

append
void append(LogEvent event)

Append a message to the output.

level
ILogger.Level level()

Return the current Level setting

level
Appender level(ILogger.Level l)

Return the current Level setting

register
Mask register(cstring tag)

Static method to return a mask for identifying the Appender.

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

next
void next(Appender appender)

Attach another appender to this one

next
Appender next()

Return the next appender in the list

close
void close()

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

Meta