UNPKG

@proveanything/smartlinks-auth-ui

Version:

Lightweight React authentication UI components with bearer token support and Smartlinks SDK integration

14 lines 551 B
import type { AuthLogger } from '../types'; /** * Creates a normalized logger wrapper that works with different logger types * - If no logger provided, returns no-op logger (silent) * - If function logger, wraps it with level prefixes * - If console-like object, wraps methods with prefixes */ export declare function createLoggerWrapper(logger?: AuthLogger): { log: (...args: any[]) => void; warn: (...args: any[]) => void; error: (...args: any[]) => void; debug: (...args: any[]) => void; }; //# sourceMappingURL=logger.d.ts.map