import pino from "pino"; /** * Base logger instance */ export declare const logger: pino.Logger; /** * Create a child logger with additional context */ export declare function createLogger(context: { module?: string; service?: string; tenantId?: string; userId?: string; requestId?: string; method?: string; path?: string; }): pino.Logger; /** * Logger type for use in services */ export type Logger = pino.Logger; /** * Log levels */ export declare const LogLevel: { readonly TRACE: "trace"; readonly DEBUG: "debug"; readonly INFO: "info"; readonly WARN: "warn"; readonly ERROR: "error"; readonly FATAL: "fatal"; }; /** * Utility function to log errors with proper formatting */ export declare function logError(log: Logger, error: unknown, message: string, context?: Record): void; /** * Utility function to measure execution time */ export declare function measureTime(log: Logger, operation: string, fn: () => Promise): Promise; export default logger; //# sourceMappingURL=index.d.ts.map