This property sets and gets the default
Logger. Unless set to another
logger by the user, the default logger's log level is LogLevel.info.
sharedLog = new FileLogger(yourFile);
The example sets a new
FileLogger as new
If at some point you want to use the original default logger again, you can
sharedLog = null;. This will put back the original.
While getting and setting
sharedLog is thread-safe, it has to be considered
that the returned reference is only a current snapshot and in the following
code, you must make sure no other thread reassigns to it between reading and
if (sharedLog !is myLogger) sharedLog = new myLogger;