Logging: Moved assembly & caller info to one struct 'CallerInformation'

This commit is contained in:
Max
2024-05-04 16:09:11 +02:00
parent 68403245f0
commit e338f91081
8 changed files with 61 additions and 44 deletions

View File

@@ -9,7 +9,7 @@ var serilogLogger = SetupSerilog();
LogService.AddLogAdapter(new SerilogAdapter(serilogLogger));
var logger = LogService.RegisterLogger(nameof(Program));
var logger = LogService.RegisterLogger(typeof(Program));
logger.Trace("Test TRACE log! {StringValue} {AnotherValue}", "WOW", "W0W");
logger.Debug("Test DEBUG log! {IntVal}", 69);