feat(logging): add console color modes

This commit is contained in:
Peter Steinberger
2025-12-21 13:26:50 +00:00
parent 249b85af1e
commit 0146784e18
4 changed files with 49 additions and 8 deletions

View File

@@ -49,6 +49,7 @@ If set, CLAWDIS derives defaults (only when you havent set them explicitly):
- Console output can be tuned separately via:
- `logging.consoleLevel` (defaults to `info`, bumps to `debug` when `--verbose`)
- `logging.consoleStyle` (`pretty` | `compact` | `json`)
- `logging.consoleColor` (`auto` | `always` | `never`)
```json5
{
@@ -56,7 +57,8 @@ If set, CLAWDIS derives defaults (only when you havent set them explicitly):
level: "info",
file: "/tmp/clawdis/clawdis.log",
consoleLevel: "info",
consoleStyle: "pretty"
consoleStyle: "pretty",
consoleColor: "auto"
}
}
```