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