Custom Rules
Understanding how to apply color to uncolored content.
[
{
"name": "Information",
"pattern": "^\\[(?<c>INF)\\]",
"ignore_case": false,
"foreground": "Green",
"background": "Default",
"first_only": true
},
{
"name": "Warning",
"pattern": "^\\[(?<c>WRN)\\]",
"ignore_case": false,
"foreground": "Black",
"background": "Yellow",
"first_only": true
},
{
"name": "Datetime",
"pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}\\.[0-9]{3} [\\+\\-]?[0-9]{2}:[0-9]{2}",
"ignore_case": false,
"foreground": "Magenta",
"background": "Default",
"first_only": true
}
]pattern
ignore_case
foreground
background
first_only
Last updated