UNPKG

@iota-big3/sdk-security

Version:

Advanced security features including zero trust, quantum-safe crypto, and ML threat detection

34 lines 1.02 kB
/** * Logger Adapter for SDK Security * Adapts various logger implementations to match our SecurityLoggerContract */ import type { SecurityLoggerContract } from '../contracts/logger.contract'; export declare class LoggerAdapter implements SecurityLoggerContract { private logger; constructor(logger: any); /** * Log info message */ info(message: string, meta?: Record<string, unknown>): void; /** * Log warning message */ warn(message: string, meta?: Record<string, unknown>): void; /** * Log error message */ error(message: string, meta?: Record<string, unknown>): void; /** * Log debug message */ debug(message: string, meta?: Record<string, unknown>): void; /** * Create child logger */ child(context: Record<string, unknown>): SecurityLoggerContract; } /** * Create a default console logger */ export declare function createConsoleLogger(): SecurityLoggerContract; //# sourceMappingURL=logger.adapter.d.ts.map