Hi i am trying to log errors in two files(error and fatal in one and other in one).
I try to write that but it's not working like i want.
LogManagerFactory.DefaultConfiguration.AddTarget(LogLevel.Trace, LogLevel.Warn, new FileStreamingTarget());
LogManagerFactory.DefaultConfiguration.AddTarget(LogLevel.Error, LogLevel.Fatal, new FileStreamingTarget());
Hi i am trying to log errors in two files(error and fatal in one and other in one). I try to write that but it's not working like i want. LogManagerFactory.DefaultConfiguration.AddTarget(LogLevel.Trace, LogLevel.Warn, new FileStreamingTarget()); LogManagerFactory.DefaultConfiguration.AddTarget(LogLevel.Error, LogLevel.Fatal, new FileStreamingTarget());
Thanks in advance.