Skip to content

How to use NLog and change log level programatically.

Notifications You must be signed in to change notification settings

jwkent/NLogDemo

Repository files navigation

NLogDemo

How to use NLog and change log level programatically using WPF.

private readonly Logger _logger = LogManager.GetCurrentClassLogger();

_logger.Factory.Configuration.LoggingRules[0].EnableLoggingForLevelLogLevel.Trace);
_logger.Factory.ReconfigExistingLoggers();

About

How to use NLog and change log level programatically.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages