I am considering a way to implement the following logging rule programmatically.
<logger name="Name.Space.*" minlevel="Debug" maxlevel="Error" final="true" />
I can use the following to set "name" and "loglevel", but there is no way to implement final = "true".
LoggingRule fileLoggingRule = new LoggingRule("ConnDriverLogger", LogLevel.Trace, connDriverFileTarget); connDriverLoggingConfig.LoggingRules.Add(fileLoggingRule);
Any suggestions for implementing the above?
source share