Logger

Defines the base logger and functionality associated with it

Constructors

this
this()

Constructs a new logger

Members

Functions

addFilter
void addFilter(Filter filter)

Adds the given filter

addHandler
void addHandler(Handler handler)

Adds the given handler

addTransform
void addTransform(Transform transform)

Adds the given transform

log
void log(Message message)

Logs the provided message by processing it through all the filters, and if the verdict is true then transforms the message via all transformers and finally dispatches said message to all attached handlers

removeFilter
void removeFilter(Filter filter)

Removes the given filter

removeHandler
void removeHandler(Handler handler)

Removes the given handler

removeTransform
void removeTransform(Transform transform)

Removes the given transform

Meta