Skip to content

setLogLevel()

SIP Protocol API Reference v0.15.1


SIP Protocol API Reference / setLogLevel

setLogLevel(level): void

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:23025

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