@cardscan.ai/insurance-cardscan-react
Version:
A library that makes it easy to add health insurance card scanning to any web application
18 lines (17 loc) • 579 B
TypeScript
import { LogLevel } from "../types/types";
declare global {
interface Window {
cardScanDebugLog: string[];
}
}
export declare class GlobalLogger {
static startingLogLevel: LogLevel;
static LogLevel: LogLevel;
static setLogLevel(level: LogLevel): void;
static shouldLog(level: LogLevel): boolean;
static getLog(): string[];
static earlyLog(message: string): void;
static log(message: string, level?: LogLevel): void;
static debug(message: string, level?: LogLevel): void;
static error(message: string): void;
}