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 {testt} : {correlationId}!", correlationId, test);
log.Warning("Goodbye, Serilog.");