sdk-simple-auth
Version:
Universal JavaScript/TypeScript authentication SDK with multi-backend support, automatic token refresh, and React integration
29 lines • 841 B
TypeScript
/**
* Logger utility for the SDK
* Allows enabling/disabling debug logs globally
*/
export declare class Logger {
private static debugMode;
private static prefix;
/**
* Enable or disable debug mode
*/
static setDebugMode(enabled: boolean): void;
/**
* Log a debug message (only if debug mode is enabled)
*/
static debug(message: string, ...args: any[]): void;
/**
* Log an info message (only if debug mode is enabled)
*/
static log(message: string, ...args: any[]): void;
/**
* Log a warning message (always visible, but formatted)
*/
static warn(message: string, ...args: any[]): void;
/**
* Log an error message (always visible, but formatted)
*/
static error(message: string, ...args: any[]): void;
}
//# sourceMappingURL=Logger.d.ts.map