MultiLogHandler

A log handler that simply passes any log message it receives to a list of other handlers. Note that handlers should only be added at application startup, because the handle method is not synchronized to improve performance.

Constructors

this
this(LogHandler[] handlers)

Constructs this multi-log handler using the given list of sub-handlers.

Members

Functions

addHandler
MultiLogHandler addHandler(LogHandler handler)

Adds a handler to this multi-handler's list of handlers.

handle
void handle(LogMessage msg)

Handles a log message by calling each of its sub-handlers' handle methods on it.

Inherited Members

From LogHandler

handle
void handle(LogMessage msg)

Handles a log message.