Skip to content

Markup does not work  #8

@yigitl

Description

@yigitl

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions