Prerequisites: install abstractions module.
ILog instances can be combined with
var consoleLog = new ConsoleLog();var fileLog = new FileLog(new FileLogSettings());var combinedLog = new CompositeLog(consoleLog, fileLog);
CompositeLog forwards incoming log events to all underlying logs.
IsEnabled(LogEvent) method returns true if any of the underlying logs is enabled for given event.
ForContext(string) method invokes
ForContext on all underlying logs and returns a new
CompositeLog based on the results.