Difference between revisions of "Serilog"
(→NewFeatures) |
(→NewFeatures) |
||
Line 69: | Line 69: | ||
|} | |} | ||
*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 | + | **The default Log path is set to C:\Users\.......\source\repos\UBIK.Server\Branches\.......\UBIK.Studio\bin\Debug\Logs and its value can be changed to any local path(value="C:\logs"). |
− | ** | + | **The default for the event level is set to Debug and its value can be changed to Verbose, Information, Warning, Error or Fatal. |
− | **File count limit is set to 31 | + | **File default count limit is set to 31 and the value can be changed to any positive number. |
− | **Rolling policies is set to Day | + | **The default Rolling policies is set to Day and its value can be set to "Day", "Month" or "Year". |
Revision as of 08:00, 22 June 2020
Serilog is a portable and structured logging framework to record diagnostic logs into files, console and SQL/NoSQL databases.