> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes. # setLogLevel > Set the log level for the built-in logger. ```ts setLogLevel(level): void ``` Set the log level for the built-in logger. Has no effect when a custom logger is set via `setLogger()`. ## **Parameters** **`level`** `LogLevel` — required New minimum log level for the built-in logger. See [`LogLevel`](/docs/browser-sdk/v4/reference/type-aliases/log-level). --- ## **Returns** `void` ## **Examples** ### Switch to verbose logging in development ```ts import { setLogLevel } from '@signalwire/js'; if (import.meta.env.DEV) { setLogLevel('debug'); } ``` > Set the log level for the built-in logger.