Difference between revisions of "Serilog"
(→Example) |
(→Example) |
||
Line 78: | Line 78: | ||
Exemplary values to get Customizing log message using Who-Bert. | Exemplary values to get Customizing log message using Who-Bert. | ||
− | |||
− | |||
− | |||
{ | { | ||
public class ObjectTest | public class ObjectTest | ||
Line 92: | Line 89: | ||
{ | { | ||
− | + | ||
− | + | ||
// LogCustomizing | // LogCustomizing | ||
UBIK.Kernel.UBIKKernel.LogCustomizing(System.Reflection.MethodBase.GetCurrentMethod(), "TEST"); | UBIK.Kernel.UBIKKernel.LogCustomizing(System.Reflection.MethodBase.GetCurrentMethod(), "TEST"); | ||
− | + | ||
− | + | ||
Debugger.Output(this, obj.Name + " " + obj.Description); | Debugger.Output(this, obj.Name + " " + obj.Description); | ||
} | } |
Revision as of 07:25, 22 June 2020
Serilog is a portable and structured logging framework to record diagnostic logs into files, console and SQL/NoSQL databases.