novotnyllc / MetroLog

A lightweight logging system designed specifically for Windows Store and Windows Phone 8 apps.
MIT License
147 stars 83 forks source link

Multiple FileStreamingTarget in DefaultConfiguration #101

Open ghost opened 7 years ago

ghost commented 7 years ago

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.

somildutt commented 7 years ago

Hello

Were you able to find the solution ?

Rgds Somil

rashmirythm commented 1 year ago

Hello,

@somildutt did you find a solution for this?