Skip to content

setLogLevel()

SIP Protocol API Reference v0.7.4


SIP Protocol API Reference / setLogLevel

setLogLevel(level): void

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:22689

Set the log level at runtime

SIPLogLevel

New log level

void

import { setLogLevel } from '@sip-protocol/sdk'
setLogLevel('debug') // Enable verbose logging
setLogLevel('error') // Only show errors