@sentzunhat/zacatl
Version:
A modular, high-performance TypeScript microservice framework for Node.js, featuring layered architecture, dependency injection, and robust validation for building scalable APIs and distributed systems.
16 lines • 713 B
TypeScript
import type { LoggerPort, LoggerInput } from '../types';
import type { ConsoleLoggerOptions } from './types';
export declare class ConsoleLoggerAdapter implements LoggerPort {
private readonly enableColors;
private readonly enableTimestamps;
constructor(options?: ConsoleLoggerOptions);
private formatMessage;
private colorize;
log(message: string, input?: LoggerInput): void;
info(message: string, input?: LoggerInput): void;
trace(message: string, input?: LoggerInput): void;
warn(message: string, input?: LoggerInput): void;
error(message: string, input?: LoggerInput): void;
fatal(message: string, input?: LoggerInput): void;
}
//# sourceMappingURL=adapter.d.ts.map