Difference between revisions of "Serilog"
(→How To Configure Logging) |
|||
(7 intermediate revisions by the same user not shown) | |||
Line 76: | Line 76: | ||
<source lang="xml"> | <source lang="xml"> | ||
+ | |||
<LoggingConfiguration> | <LoggingConfiguration> | ||
<add key="LogRootPath" value=""/> | <add key="LogRootPath" value=""/> | ||
Line 85: | Line 86: | ||
<add key="RollingInterval" value="Day"/> | <add key="RollingInterval" value="Day"/> | ||
</LoggingConfiguration> | </LoggingConfiguration> | ||
+ | |||
</source> | </source> | ||
− | + | ||
=== Since Version 3.6 === | === Since Version 3.6 === | ||
Replace our existing Microsoft.Practices.EnterpriseLibrary.Logging with more up-to-date solution like Serilog. | Replace our existing Microsoft.Practices.EnterpriseLibrary.Logging with more up-to-date solution like Serilog. | ||
− | + | ||
=Example= | =Example= | ||
Line 129: | Line 131: | ||
<!-- DO NOT REMOVE THIS -->{{Template:Activity/End}}<!-- DO NOT REMOVE THIS --> | <!-- DO NOT REMOVE THIS -->{{Template:Activity/End}}<!-- DO NOT REMOVE THIS --> | ||
− | == | + | ===How to configure logging Version 3.5 or erlier=== |
+ | * [[Configuration_Files/Logging.config]] | ||
* [[HowTo:Configure_Logging]] | * [[HowTo:Configure_Logging]] | ||
− | ==Useful links [What is Serilog]== | + | |
+ | ===Useful links [What is Serilog]=== | ||
* https://serilog.net/ | * https://serilog.net/ | ||
{{Category/Version|3.6.0}} | {{Category/Version|3.6.0}} | ||
[[Category:3.6.0|Serilog]] | [[Category:3.6.0|Serilog]] |
Latest revision as of 08:52, 16 November 2020
Serilog is a portable and structured logging framework to record diagnostic logs into files, console and SQL/NoSQL databases.
How to configure logging Version 3.5 or erlier