Crisp Logs provides a better default log highlighting experience, both for log files and for the vscode output window.
This extension replaces the default builtin logging highlighter for VSCode. It is optimized for logs that follow a format of "timestamp severity message" format.
The included colors are optimized for the Default Dark and Light themes and generally use appropriate tokens where possible, however the individual highlighting tokens are fully customizable to whatever preferred colors you want using the following settings:
You can also specify a parent of a token to affect all tokens of that type. For instance,
Git Log Specific:
This extension contains support for embedded highlighting, however matching JSON or PowerShell blocks with regex is notoriously complicated. There is support for a
Currently supported tags:
Further log examples
This uses several rules inspired by the Log File Highlighter extension, but by using a YAML template format used by the Typescript TextMate syntax, which has a build script for variables and de-duplication that has been adapted for this purpose that makes authoring the complicated required regexes more manageable
To build the extension: