/** * Minimal logger seam used by the SDK for non-event diagnostic output * (warnings, deprecation notices, telemetry fallbacks). All `console.*` * inside the SDK should route through `getLogger()` so ops teams can * redirect or silence messages in production. * * The default logger writes to `console` and respects * `FABRIC_HARNESS_LOG_LEVEL=debug|info|warn|error|silent` (default `warn`). * * @public */ export interface Logger { debug(message: string, meta?: Record): void; info(message: string, meta?: Record): void; warn(message: string, meta?: Record): void; error(message: string, meta?: Record): void; } export type LogLevel = 'debug' | 'info' | 'warn' | 'error' | 'silent'; /** * Replace the global SDK logger. Call once at startup before any `init()`. * Pass a custom Logger to redirect to your structured logging system. * * @public */ export declare function setLogger(logger: Logger): void; /** Get the currently configured logger. @public */ export declare function getLogger(): Logger; /** * Build a Console-backed logger with an explicit level. Useful for tests * that want to capture or silence SDK output without touching globals. * * @public */ export declare function createConsoleLogger(level?: LogLevel): Logger; //# sourceMappingURL=logger.d.ts.map