Skip to content

Commit 3c13778

Browse files
committed
pr feedback
1 parent 9b3e657 commit 3c13778

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/clerk-js/src/utils/debug.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ async function ensureInitialized(options?: Omit<InitOptions, 'enabled'>): Promis
8282

8383
const { getDebugLogger } = await import('@/core/modules/debug');
8484
const logger = await getDebugLogger({
85-
logLevel: options?.logLevel ?? 'debug',
85+
logLevel: options?.logLevel,
8686
telemetryCollector: options?.telemetryCollector,
8787
});
8888

@@ -107,7 +107,7 @@ async function ensureInitialized(options?: Omit<InitOptions, 'enabled'>): Promis
107107
*
108108
* @param options - Configuration options
109109
* @param options.enabled - Enables the logger; when false, logger is a no-op (default: false)
110-
* @param options.logLevel - Minimal level to log; lower-priority logs are ignored (default: 'trace')
110+
* @param options.logLevel - Minimal level to log; lower-priority logs are ignored. Valid levels: 'error' | 'warn' | 'info' | 'debug'.
111111
* @param options.telemetryCollector - Collector used by the debug transport for emitting telemetry
112112
*
113113
* @example

0 commit comments

Comments
 (0)