stayge-ws-client-sdk
    Preparing search index...

    Interface WebSocketClientOptions

    interface WebSocketClientOptions {
        debug?: DebugOption;
    }
    Index

    Properties

    Properties

    debug?: DebugOption

    디버그 로그 출력 여부. 기본값은 false(조용함).

    • true 로 설정하면 모든 카테고리 로그 출력
    • 카테고리별로 켜고 싶다면 객체로 지정: { ping: false, state: true }

    메시지 파싱 실패 같은 예외 상황의 console.error 는 이 옵션과 무관하게 항상 출력됩니다(운영 모니터링 용도).