added log viewer "hl"

This commit is contained in:
2024-09-18 11:04:53 +02:00
committed by Flo Greistorfer
parent 549c15ca6c
commit 383dd59851
4 changed files with 98 additions and 0 deletions

View File

@@ -147,6 +147,9 @@
"python.analysis.inlayHints.callArgumentNames": "off",
"python.analysis.inlayHints.functionReturnTypes": false,
"python.analysis.inlayHints.variableTypes": false,
"yaml.schemas": {
"https://raw.githubusercontent.com/pamburus/hl/master/schema/json/config.schema.json": "file:///home/user/git/github.com/greflm13/StaticGalleryBuilder/hl_config.yaml"
},
},
"tasks": {
"version": "2.0.0",
@@ -218,6 +221,21 @@
"clear": true
},
"group": "build"
},
{
"command": "LESS=-SR hl logs/latest.jsonl --config hl_config.yaml",
"isBackground": false,
"label": "View Latest Log",
"problemMatcher": [],
"type": "shell",
"presentation": {
"echo": false,
"reveal": "always",
"focus": true,
"panel": "dedicated",
"showReuseMessage": false,
"clear": true
}
}
],
},