logging
xtimoner via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Apr 28 13:16:30 PDT 2014
synchronized class EventLog{
void opCall(string s){
std.file.append("logfile.txt", s);
}
}
shared EventLog eventLog;
Pleas, is it multithread safe and prefered way?
More information about the Digitalmars-d-learn
mailing list