Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple FileStreamingTarget in DefaultConfiguration #101

Open
ghost opened this issue Feb 9, 2017 · 2 comments
Open

Multiple FileStreamingTarget in DefaultConfiguration #101

ghost opened this issue Feb 9, 2017 · 2 comments

Comments

@ghost
Copy link

ghost commented Feb 9, 2017

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
Copy link

Hello

Were you able to find the solution ?

Rgds
Somil

@rashmirythm
Copy link

rashmirythm commented Mar 9, 2023

Hello,

@somildutt did you find a solution for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants