Difference between revisions of "Serilog"
(→NewFeatures) |
|||
Line 39: | Line 39: | ||
*Added a new Class LoggerInitializer which contains all the Serilog Sinks (Log event sinks generally record log events to some external representation, typically the console, a file or data store). | *Added a new Class LoggerInitializer which contains all the Serilog Sinks (Log event sinks generally record log events to some external representation, typically the console, a file or data store). | ||
+ | {| class="wikitable sortable" | width = "50%" | ||
+ | |- | ||
+ | ! Argument !! Level !! Purpose | ||
+ | |- align="left" | ||
+ | | LogVerbose || Verbose || method for writing a verbose log message to the output log file logged as Verbose event level. (new) | ||
+ | |- align="left" | ||
+ | | LogDebugOutput || Debug || method for writing a debug log message to the output log file logged as Debug event level. | ||
+ | |- align="left" | ||
+ | | ThrowAssertion || Information || method for writing an assertion log message to the output log file logged as Information event level. | ||
+ | |- align="left" | ||
+ | | ThrowAssertion || Information || method for writing an assertion log message to the output log file logged as Information event level. | ||
+ | |- align="left" | ||
+ | | ThrowAssertion || Information || method for writing an assertion log message to the output log file logged as Information event level. | ||
+ | |- align="left" | ||
+ | | ThrowAssertion || Information || method for writing an assertion log message to the output log file logged as Information event level. | ||
+ | |- align="left" | ||
+ | |} | ||
=Example= | =Example= |
Revision as of 06:42, 22 June 2020
Serilog is a portable and structured logging framework to record diagnostic logs into files, console and SQL/NoSQL databases.