Skip to content

Colorize LogTo output #23451

@ajcvickers

Description

@ajcvickers

From an internal discussion with @bricelam: ANSI escape sequences FTW: .LogTo(m => Console.WriteLine("\x1b[1;30m" + m + "\x1b[22;39m"))

A cheatsheet: https://github.com/dotnet/efcore/blob/main/src/ef/AnsiConstants.cs

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions