InstanceLogger

logger for class instances

Constructors

this
this(Object obj, string inst = "")
this
this(string obj, string inst = "")

Members

Functions

getEmitterName
string getEmitterName(string name)

Properties

instance
string instance [@property setter]
instance
string instance [@property getter]

Variables

class_name
string class_name;
inst_name
string inst_name;

Inherited Members

From Logger

output
shared(OutputHandler) output()
rule
shared(Rule) rule()
procMessage
void procMessage(in LogMessage lm)

check log message level allowed with current rules for emmiter

writeLogFailPrint
void writeLogFailPrint(Exception e)

exception processing

writeLog
void writeLog(in LogMessage lm)

write log to logoutput

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

Meta