/** * Log an informational message. * * @param {string} label - Short label or category for the log entry. * @param {string} message - Human-readable log message. * @param {Record} [options={}] - Additional metadata to include. */ export declare const loggyInfo: (label: string, message: string, options?: Record) => void; /** * Log a debug-level message. * * @param {string} label - Short label or category for the log entry. * @param {string} message - Human-readable debug message. * @param {Record} [options={}] - Additional metadata to include. */ export declare const loggyDebug: (label: string, message: string, options?: Record) => void; /** * Log a warning-level message. * * @param {string} label - Short label or category for the log entry. * @param {string} message - Human-readable warning message. * @param {Record} [options={}] - Additional metadata to include. */ export declare const loggyWarn: (label: string, message: string, options?: Record) => void; /** * Log a trace-level message. * * @param {string} label - Short label or category for the log entry. * @param {string} message - Human-readable trace message. * @param {Record} [options={}] - Additional metadata to include. */ export declare const loggyTrace: (label: string, message: string, options?: Record) => void; /** * Log a fatal message. * * Use for unrecoverable errors that will abort the process. * * @param {string} label - Short label or category for the log entry. * @param {string} message - Human-readable fatal message. * @param {Record} [options={}] - Additional metadata to include. */ export declare const loggyFatal: (label: string, message: string, options?: Record) => void; /** * Log an error. When an `Error` instance is provided, its stack is included * in the logged metadata. * * @param {string} label - Short label or category for the log entry. * @param {Error|string} err - The error object or an error message string. * @param {Record} [options={}] - Additional metadata to include. */ export declare const loggyError: (label: string, err: Error | string, options?: Record) => void; /** * Convenience logger for application start information. * * @param {string} host - Hostname or IP the app is bound to. * @param {number} port - Port number the app is listening on. * @param {Record} [options={}] - Additional metadata to include. */ export declare const loggyAppStart: (host: string, port: number, options?: Record) => void; /** * Log that an HTTP request was received. * * @param {string} route - The route or URL path requested. * @param {string} method - HTTP method (GET, POST, etc.). * @param {Record} [options={}] - Additional metadata to include (e.g., headers, id). */ export declare const loggyRequestReceived: (route: string, method: string, options?: Record) => void; /** * Log that an HTTP response was sent. * * @param {string} route - The route or URL path the response corresponds to. * @param {string} method - HTTP method (GET, POST, etc.). * @param {number} status - HTTP status code returned. * @param {Record} [options={}] - Additional metadata to include (e.g., timings). */ export declare const loggyResponseSent: (route: string, method: string, status: number, options?: Record) => void;