SimpleLogger icon indicating copy to clipboard operation
SimpleLogger copied to clipboard

Changing Log Directory

Open joshuaorotayo opened this issue 6 years ago • 1 comments

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?

joshuaorotayo avatar Aug 02 '18 13:08 joshuaorotayo

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

doribi avatar Feb 15 '19 07:02 doribi