File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/clerk-js/src/utils Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments