- addAnyLevelMapping
void addAnyLevelMapping(shared(LogHandler) handler)
Undocumented in source. Be warned that the author may not have intended to support it.
- addLevelMapping
void addLevelMapping(Level level, shared(LogHandler) handler)
Undocumented in source. Be warned that the author may not have intended to support it.
- addMaxLevelMapping
void addMaxLevelMapping(Level maxLevel, shared(LogHandler) handler)
Undocumented in source. Be warned that the author may not have intended to support it.
- addMinLevelMapping
void addMinLevelMapping(Level minLevel, shared(LogHandler) handler)
Undocumented in source. Be warned that the author may not have intended to support it.
- addRangeLevelMapping
void addRangeLevelMapping(Level minLevel, Level maxLevel, shared(LogHandler) handler)
Undocumented in source. Be warned that the author may not have intended to support it.
- handle
void handle(LogMessage msg)
Undocumented in source. Be warned that the author may not have intended to support it.
A handler that sends log messages to different handlers depending on the level of the message. For example, you could create a level-mapped log handler that sends INFO messages to stdout, but sends ERROR messages to an email notification service.