Difference between revisions of "Serilog"
(→NewFeatures) |
|||
| Line 47: | Line 47: | ||
| LogDebugOutput || Debug || method for writing a debug log message to the output log file logged as Debug event level. | | LogDebugOutput || Debug || method for writing a debug log message to the output log file logged as Debug event level. | ||
|- align="left" | |- align="left" | ||
| − | | | + | | LogInformation || Information || method for writing an information log message to the output log file logged as Information event level. (new) |
|- align="left" | |- align="left" | ||
| ThrowAssertion || Information || method for writing an assertion log message to the output log file logged as Information event level. | | ThrowAssertion || Information || method for writing an assertion log message to the output log file logged as Information event level. | ||
|- align="left" | |- align="left" | ||
| − | | | + | | LogSQLStatement / LogSQLCommand || Information || method for writing a sql log message to the output log file logged as Information event level. |
|- align="left" | |- align="left" | ||
| − | | | + | | LogCustomizing || Information || method for writing a customizing log message to the output log file logged as Information event level. |
| + | |- align="left" | ||
| + | | LogService || Information || method for writing a customizing log message to the output log file logged as Information event level. | ||
| + | |- align="left" | ||
| + | | LogCustomizing || Information || method for writing a service log message to the output log file logged as Information event level. | ||
| + | |- align="left" | ||
| + | | LogCustomizing || Information || method for writing a customizing log message to the output log file logged as Information event level. | ||
|- align="left" | |- align="left" | ||
|} | |} | ||
| + | |||
=Example= | =Example= | ||
Revision as of 07:05, 22 June 2020
Serilog is a portable and structured logging framework to record diagnostic logs into files, console and SQL/NoSQL databases.
