Having log message like this
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.
Having log message like this
where the part of the pattern matching this message for
src"field" looks like this:src:(?<src__line>\d+)@(?<src__logger>[^\]]+)and
src__loggeris defined like this:I would like to specify message body color to be the same as the color of text matched by
src__loggerpattern (heresfx.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.