summaryrefslogtreecommitdiff
path: root/internal/logging
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-08-19 22:53:11 +0300
committerPaul Buetow <paul@buetow.org>2025-08-19 22:53:11 +0300
commit904988e3a417b2d3adb88c749429e8685bb346d0 (patch)
tree7e4953b0acf3e656c20354a3f3b94565b9bcdee8 /internal/logging
parent8fa3c76907c3e99e75c5828d9b5642646c81205c (diff)
logging: highlight LLM no-op skips in yellow\n\n- Add AnsiYellow to logging utilities\n- Colorize skip logs (no-trigger, short-prefix, busy) in hexai-lsp logs
Diffstat (limited to 'internal/logging')
-rw-r--r--internal/logging/logging.go13
1 files changed, 7 insertions, 6 deletions
diff --git a/internal/logging/logging.go b/internal/logging/logging.go
index 2975c7a..f90562f 100644
--- a/internal/logging/logging.go
+++ b/internal/logging/logging.go
@@ -8,12 +8,13 @@ import (
// ANSI color utilities shared across Hexai.
const (
- AnsiBgBlack = "\x1b[40m"
- AnsiGrey = "\x1b[90m"
- AnsiCyan = "\x1b[36m"
- AnsiGreen = "\x1b[32m"
- AnsiRed = "\x1b[31m"
- AnsiReset = "\x1b[0m"
+ AnsiBgBlack = "\x1b[40m"
+ AnsiGrey = "\x1b[90m"
+ AnsiCyan = "\x1b[36m"
+ AnsiGreen = "\x1b[32m"
+ AnsiYellow = "\x1b[33m"
+ AnsiRed = "\x1b[31m"
+ AnsiReset = "\x1b[0m"
)
// AnsiBase is the default style: black background + grey foreground.