@200systems/mf-logger
Version:
Structured logging with multiple outputs and performance timing for TypeScript applications
10 lines • 336 B
TypeScript
import { LogEntry } from './types.js';
export declare class LogFormatter {
private readonly colors;
formatJson(entry: LogEntry): string;
formatPretty(entry: LogEntry): string;
private formatTimestamp;
private formatLevel;
}
export declare const defaultFormatter: LogFormatter;
//# sourceMappingURL=formatter.d.ts.map