Difference between revisions of "Serilog"
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 “values”, 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 “values”, which are set on their default. | ||
− | **The default Log path is set to the installation directory of UBIK. Its value can be changed to any local path (e.g. value="C:\logs"). Using OS Environment Variables (e.g. value="%SYSTEMDRIVE%\logs") is possible. | + | **The default Log path is set to the installation directory of UBIK. Its value can be changed to any local path (e.g. value="C:\logs"). Using OS Environment Variables (e.g. value="%SYSTEMDRIVE%\logs") is possible. Using Relative path's (e.g. value="..\logs" used for moving up in the hierarchy from the current directory) or (e.g. value=".\logs" represents the current directory itself.) is possible. |
**The default for the event level is set to Debug and its values can be changed to Verbose, Information, Warning, Error or Fatal. | **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 its values can be changed to any positive number. | **File default count limit is set to 31 and its values can be changed to any positive number. |
Revision as of 05:47, 12 August 2020
Serilog is a portable and structured logging framework to record diagnostic logs into files, console and SQL/NoSQL databases.
See also