jirkapenzes / SimpleLogger

Simple Logger C#.NET
MIT License
94 stars 42 forks source link

Changing Log Directory #11

Open joshuaorotayo opened 6 years ago

joshuaorotayo commented 6 years ago

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 commented 5 years ago

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));