Difference between revisions of "Serilog"
(→NewFeatures) |
(→NewFeatures) |
||
Line 70: | Line 70: | ||
*Added a way for the User to configure the default log path, the file count limit, the log event level and rolling policies through Logger.config with changing only the “value”, which are set on their default. | *Added a way for the User to configure the default log path, the file count limit, the log event level and rolling policies through Logger.config with changing only the “value”, which are set on their default. | ||
**Log path is set to C:\Users\.......\source\repos\UBIK.Server\Branches\.......\UBIK.Studio\bin\Debug\Logs. | **Log path is set to C:\Users\.......\source\repos\UBIK.Server\Branches\.......\UBIK.Studio\bin\Debug\Logs. | ||
− | ***Configuration options : value="C:\logs" | + | ***Configuration options : value="C:\logs". |
**Event level is set to Debug. | **Event level is set to Debug. | ||
+ | ***Configuration options : value="Debug ", can be changed to Verbose,Information,Warning,Error or Fatal. | ||
**File count limit is set to 31. | **File count limit is set to 31. | ||
+ | *** Configuration options : value="31", can be set to any positive number. | ||
**Rolling policies is set to Day. | **Rolling policies is set to Day. | ||
+ | ***Configuration options : value="Day" , can be set to "Day", "Month" or "Year". | ||
Revision as of 07:52, 22 June 2020
Serilog is a portable and structured logging framework to record diagnostic logs into files, console and SQL/NoSQL databases.