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