BasicLogger

A basic logger which has support for log levels

Constructors

this
this()

Constructs a new BasicLogger

Members

Functions

getLevel
Level getLevel()

Obtains the current log level

setLevel
void setLevel(Level level)

Sets the log level

Inherited Members

From Logger

addTransform
void addTransform(Transform transform)

Adds the given transform

removeTransform
void removeTransform(Transform transform)

Removes the given transform

addFilter
void addFilter(Filter filter)

Adds the given filter

removeFilter
void removeFilter(Filter filter)

Removes the given filter

addHandler
void addHandler(Handler handler)

Adds the given handler

removeHandler
void removeHandler(Handler handler)

Removes the given handler

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

Meta