Skip to content

Weird characters after add console theme #43

@sungam3r

Description

@sungam3r

Bug

Serilog.Sinks.Console 3.1.1

NET462, Windows 8.1

Please describe the current behaviour you are experiencing?

After try to add custom theme

<add key="serilog:write-to:Console.theme" value="Serilog.Sinks.SystemConsole.Themes.AnsiConsoleTheme::Code, Serilog.Sinks.Console" />

console displays weird characters
image
Before this change my config was just simple

<add key="serilog:write-to:Console" />

and all was fine
image

Please describe the expected behaviour if the ?
I'm expecting to see normal console colored output

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