Logger.Context

Context for a hierarchy, used for customizing behaviour of log hierarchies. You can use this to implement dynamic log-levels, based upon filtering or some other mechanism

Members

Functions

enabled
bool enabled(Level setting, Level target)

first arg is the setting of the logger itself, and the second arg is what kind of message we're being asked to produce

Properties

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

return a label for this context

Meta