I'm new to Castle Windsor and am struggling to setup the initial log level of ConsoleLogger. The documentation gives some hints for log4net but is silent about logging to console.
My code looks as follows:
container.AddFacility<Castle.Facilities.Logging.LoggingFacility>(
f => f.LogUsing(Castle.Facilities.Logging.LoggerImplementation.Console));
Any hints how I can set the default log level of the facility to e.g. LoggerLevel.Warn
?
Cheers
I don't think that is supported if you take direct dependency on
ILogger
rather thanILoggerFactory
. Feel free to request this in the issue tracker.