Gateway: optimize ws logs in normal mode
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
export type GatewayWsLogStyle = "full" | "compact";
|
||||
export type GatewayWsLogStyle = "auto" | "full" | "compact";
|
||||
|
||||
let gatewayWsLogStyle: GatewayWsLogStyle = "full";
|
||||
let gatewayWsLogStyle: GatewayWsLogStyle = "auto";
|
||||
|
||||
export function setGatewayWsLogStyle(style: GatewayWsLogStyle): void {
|
||||
gatewayWsLogStyle = style;
|
||||
@@ -9,3 +9,5 @@ export function setGatewayWsLogStyle(style: GatewayWsLogStyle): void {
|
||||
export function getGatewayWsLogStyle(): GatewayWsLogStyle {
|
||||
return gatewayWsLogStyle;
|
||||
}
|
||||
|
||||
export const DEFAULT_WS_SLOW_MS = 50;
|
||||
|
||||
Reference in New Issue
Block a user