/** * Simple logger utility for consistent logging throughout the application * * ## Technical Perspective * * Provides standardized logging across the application with different log levels. * * @example * ```typescript * import { logger } from './utils/logger'; * * // Basic logging * logger.info('Application started'); * * // Logging with context * logger.warn('High memory usage', { memory: '85%', threshold: '80%' }); * * // Error logging * try { * processData(); * } catch (error) { * logger.error('Data processing failed', error); * } * * // Debug logging (development only) * logger.debug('Security calculation', { confidentiality: 'High', integrity: 'Moderate' }); * ``` */ /** * Logger interface to define the shape of our logger object */ interface Logger { log(...args: unknown[]): Logger; info(message: string, context?: unknown): Logger; warn(message: string, context?: unknown): Logger; error(message: string, context?: unknown): Logger; debug(message: string, context?: unknown): Logger; } /** * Simple logger interface with different log levels. * Uses standard console methods with level prefixes to distinguish severity. */ declare const logger: Logger; export default logger; //# sourceMappingURL=logger.d.ts.map