PragmaticFlow/Serilog.Sinks.SpectreConsole

Markup does not work

Opened this issue · 3 comments

Markup doesn't work when trying to log messages.

Log.Logger <- 
    LoggerConfiguration()         
        .WriteTo.spectreConsole("{Timestamp:HH:mm:ss} [{Level:u4}] {Message:lj}{NewLine}{Exception}", LogEventLevel.Information)
        .MinimumLevel.Information()
        .CreateLogger()

Log.Information("Information level example with {0}", "parameter")
Log.Information("[underline]Test[/]")
13:11:01 [INFO] Information level example with parameter
13:11:01 [INFO] [underline]Test[/]

Did I forget to configure something or is this working as intended?

@Yaroshvitaliy maybe you can assist with this if it's something trivial

Any reviewer for #9 ?