public string name {get;set;}
public static void Main()
var correlationId = Guid.NewGuid();
var log = new LoggerConfiguration()
.Console(outputTemplate: "{Timestamp:u} [{Level}] {Message}{NewLine}{Exception}")
log.Information("Hello, Serilog!");
log.Information("Hello, Serilog {test}:{correlationId}!", test, correlationId);
log.Warning("Goodbye, Serilog.");