UNPKG

frontend-logger-advanced

Version:

Comprehensive frontend logging system with dead click detection, rage click detection, framework integrations (React/Solid), and cloud streaming support

30 lines (29 loc) 1.17 kB
export * from './types'; export * from './utils'; export * from './logger'; export * from './fileExporter'; export * from './eventHub'; export * from './react'; export * from './solid'; import { LoggerInstance, InitOptions, LoggerConfig } from './types'; export declare function initLogging(options?: InitOptions): Promise<LoggerInstance | null>; export declare function getLogger(): LoggerInstance | null; export declare function destroyLogger(): void; export declare function quickStart(config?: Partial<LoggerConfig>): Promise<LoggerInstance | null>; export declare const log: { debug: (message: string, data?: Record<string, any>) => void; info: (message: string, data?: Record<string, any>) => void; warn: (message: string, data?: Record<string, any>) => void; error: (message: string, data?: Record<string, any>) => void; custom: (eventName: string, data?: Record<string, any>) => void; }; export declare const defaultConfig: LoggerConfig; export declare function checkCompatibility(): { compatible: boolean; features: { fileAPI: boolean; fetchAPI: boolean; eventHubs: boolean; }; warnings: string[]; };