none
c# nlog and event viewer RRS feed

  • Question

  • I am setting nlog to write to event viewer

        NLog.Targets.Target target = LogManager.Configuration.FindTargetByName("eventlog");
    
        NLog.Config.SimpleConfigurator.ConfigureForTargetLogging(target, LogLevel.Info);
        LogManager.Configuration.Reload();

    but for some reason it writes it to

    event viewer pic

    any idea why?

    • Moved by CoolDadTx Thursday, March 14, 2019 6:37 PM Third party product
    Thursday, March 14, 2019 2:09 PM

All replies

  • This forum is for questions specifically related to C#. NLog is a third party component. Please post your question related to third party components in their forums.

    Michael Taylor http://www.michaeltaylorp3.net

    Thursday, March 14, 2019 6:37 PM