Logger

base logger class

Members

Functions

chooseOutputName
string chooseOutputName(in LogMessage lvl)

logger can chouse output name, empty (default) for broadcast

getEmitterName
string getEmitterName(string func_name)

transform caller func name to emitter name

procMessage
void procMessage(in LogMessage lm)

check log message level allowed with current rules for emmiter

writeLog
void writeLog(in LogMessage lm)

write log to logoutput

writeLogFailPrint
void writeLogFailPrint(Exception e)

exception processing

Static functions

output
shared(OutputHandler) output()
rule
shared(Rule) rule()

Meta