You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please describe the current behaviour you are experiencing?
I created a custom ANSI color theme. I noticed that the timestamp component of the output template format string was not colorized. I tried the following:
{
"Serilog": {
"WriteTo": [
{
"Name": "Console",
"Args": {
"theme": "Full Qualified Class Name of my theme",
"outputTemplate": "[\u001b[38;2;104;153;106m{Timestamp:HH:mm:ss} {Level:u3}] {Message:lj} {Properties:j}{Newline}{Exception}"
}
}
]
}
}
Please describe the expected behaviour if the ?
I expected that the timestamp component would be come an aqua green color (from Gruvbox Dark). Instead, the timestamp component remained the standard default terminal text color.
Suggested way to fix/add feature
Perhaps a new ConsoleThemeStyle field could be added: Timestamp.
The text was updated successfully, but these errors were encountered:
Does this issue relate to a new feature or an existing bug?
Not sure that this is a "bug" per se, it may be considered a missing "feature".
What version of Serilog Console Sink is affected by this issue? Please list the related NuGet package.
v3.1.1
What is the target framework and operating system affected by this issue? Please see target frameworks & net standard matrix.
Please describe the current behaviour you are experiencing?
I created a custom ANSI color theme. I noticed that the timestamp component of the output template format string was not colorized. I tried the following:
Please describe the expected behaviour if the ?
I expected that the timestamp component would be come an aqua green color (from Gruvbox Dark). Instead, the timestamp component remained the standard default terminal text color.
Suggested way to fix/add feature
Perhaps a new
ConsoleThemeStyle
field could be added:Timestamp
.The text was updated successfully, but these errors were encountered: