UNPKG

@iota-big3/sdk-security

Version:

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

27 lines 787 B
/** * Logger Contract for SDK Security * Defines the interface that sdk-security expects from a logger integration */ export interface SecurityLoggerContract { /** * Log info level message */ info(message: string, meta?: Record<string, unknown>): void; /** * Log warning level message */ warn(message: string, meta?: Record<string, unknown>): void; /** * Log error level message */ error(message: string, meta?: Record<string, unknown>): void; /** * Log debug level message */ debug(message: string, meta?: Record<string, unknown>): void; /** * Create child logger with context */ child?(context: Record<string, unknown>): SecurityLoggerContract; } //# sourceMappingURL=logger.contract.d.ts.map