UNPKG

@bernierllc/logging

Version:

A comprehensive logging package with Winston integration for audit and system logging

24 lines 924 B
/** * Mock core logger types and functions for TypeScript compilation * This will be replaced with actual @bernierllc/logger imports when available */ export declare enum LogLevel { ERROR = "error", WARN = "warn", INFO = "info", HTTP = "http", VERBOSE = "verbose", DEBUG = "debug", SILLY = "silly" } export interface Logger { log(level: string, message: string, metadata?: Record<string, unknown>): void; error(message: string, error?: Error, metadata?: Record<string, unknown>): void; warn(message: string, metadata?: Record<string, unknown>): void; info(message: string, metadata?: Record<string, unknown>): void; debug(message: string, metadata?: Record<string, unknown>): void; getConfig(): any; } export declare function createLogger(config?: any): Logger; export declare function createLoggerFromConfig(): Promise<Logger>; //# sourceMappingURL=coreLogger.d.ts.map