feat(logging): add console color modes
This commit is contained in:
1 parent
249b85af1e
commit
0146784e18
4 files changed
+49
-8
No files matched your search
@@ -29,6 +29,7 @@ export type LoggingConfig = {
|
||||
| "debug"
|
||||
| "trace";
|
||||
consoleStyle?: "pretty" | "compact" | "json";
|
||||
consoleColor?: "auto" | "always" | "never";
|
||||
};
|
||||
|
||||
export type WebReconnectConfig = {
|
||||
@@ -269,6 +270,9 @@ const ClawdisSchema = z.object({
|
||||
consoleStyle: z
|
||||
.union([z.literal("pretty"), z.literal("compact"), z.literal("json")])
|
||||
.optional(),
|
||||
consoleColor: z
|
||||
.union([z.literal("auto"), z.literal("always"), z.literal("never")])
|
||||
.optional(),
|
||||
})
|
||||
.optional(),
|
||||
browser: z
|
||||
|
||||
Reference in new issue
Block a user