Function registerLogger
Registers a new logger
instance.
The specified Logger
will receive all log
messages in its Logger.log
method after it has been registered.
Prototype
void registerLogger( shared(Logger) logger );
Examples
auto logger = cast(shared)new HTMLLogger("log.html"); logger.lock().format = FileLogger.Format.threadTime; registerLogger(logger);
See Also
Authors
Sönke Ludwig
Copyright
© 2012-2013 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.