setLogLevel()
SIP Protocol API Reference v0.7.4
SIP Protocol API Reference / setLogLevel
Function: setLogLevel()
Section titled “Function: setLogLevel()”setLogLevel(
level):void
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:22689
Set the log level at runtime
Parameters
Section titled “Parameters”New log level
Returns
Section titled “Returns”void
Example
Section titled “Example”import { setLogLevel } from '@sip-protocol/sdk'
setLogLevel('debug') // Enable verbose loggingsetLogLevel('error') // Only show errors