Skip to content

Specifying message body color to be the same as a color of the field #1656

@piotr-dobrogost

Description

@piotr-dobrogost

Having log message like this

Image

where the part of the pattern matching this message for src "field" looks like this:
src:(?<src__line>\d+)@(?<src__logger>[^\]]+)
and src__logger is defined like this:

      "src__logger": {
        "kind": "string",
        "identifier": true
      },

I would like to specify message body color to be the same as the color of text matched by src__logger pattern (here sfx.ian.log.handler).

The idea is that often there is a field which denotes the area of application (often it's a name of a logger), and having messages that originate from a specific area be in some specific color helps to know what messages come from what area of application.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions