Jump to: navigation, search

Changes


Serilog

94 bytes added, 11:08, 5 August 2020
! LogLevel !! Purpose
|- align="left"
| Verbose || It is the noisiest level, generally used only as a last resort when debugging a difficult problem, and rarely (if ever) enabled for a production app. For example, local variables within an algorithm implementation might be logged at this level.
|- align="left"
| Debug || Debug is used for internal system events that are not necessarily observable from the outside, but useful when determining how something happened. For example, the details of requests and responses made to and from external integration points would often be logged at this level.
|}
*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 values can be changed to any local path(e.g. value="C:\logs") or it can be changed using the Environment Variables (e.g. value="%SYSTEMDRIVE%\logs").
**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.
415
edits