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

Changing Log Directory #11

Open
joshuaorotayo opened this issue Aug 2, 2018 · 1 comment
Open

Changing Log Directory #11

joshuaorotayo opened this issue Aug 2, 2018 · 1 comment

Comments

@joshuaorotayo
Copy link

I've recently included SimpleLogger into my project and am loving it.

But is there a way in SimpleLogger for me to create a directory that can be used to store the logs created within that directory?

@doribi
Copy link

doribi commented Feb 15, 2019

I've recently included SimpleLogger into my project and am loving it.

But is there a way in SimpleLogger for me to create a directory that can be used to store the logs created within that directory?

You can specify a directory location when you create a FileLogger.
Logger.LoggerHandlerManager
.AddHandler(new FileLoggerHandler(filename,directory path));

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