/** * @module adapters/console-logger * * High-performance console logger inspired by pino's design: * - Numeric level comparison for O(1) gating * - stdout.write() in production for raw JSON lines (no console overhead) * - Colorized single-line output in development * - No-op method replacement when level is above threshold * - Child logger support with merged bindings */ import type { Logger } from "../types/index.js"; /** * Default console logger for the Act framework. * * Production mode emits newline-delimited JSON (compatible with GCP, AWS * CloudWatch, Datadog, and other structured log ingestion systems). * * Development mode emits colorized, human-readable output. */ export declare class ConsoleLogger implements Logger { level: string; private readonly _pretty; readonly fatal: Logger["fatal"]; readonly error: Logger["error"]; readonly warn: Logger["warn"]; readonly info: Logger["info"]; readonly debug: Logger["debug"]; readonly trace: Logger["trace"]; constructor(options?: { level?: string; pretty?: boolean; bindings?: Record; }); /** No-op — `console.log` has no resources to release. */ dispose(): Promise; /** @inheritDoc */ child(bindings: Record): Logger; private _json_write; private _pretty_write; } //# sourceMappingURL=console-logger.d.ts.map