mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 23:38:27 +00:00
Gateway: add compact ws verbose logs
This commit is contained in:
11
src/gateway/ws-logging.ts
Normal file
11
src/gateway/ws-logging.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
export type GatewayWsLogStyle = "full" | "compact";
|
||||
|
||||
let gatewayWsLogStyle: GatewayWsLogStyle = "full";
|
||||
|
||||
export function setGatewayWsLogStyle(style: GatewayWsLogStyle): void {
|
||||
gatewayWsLogStyle = style;
|
||||
}
|
||||
|
||||
export function getGatewayWsLogStyle(): GatewayWsLogStyle {
|
||||
return gatewayWsLogStyle;
|
||||
}
|
||||
Reference in New Issue
Block a user