/** * @fileoverview Formatting utilities for Universal Logger */ import type { LogLevel, StackInfo } from '../types/index.js'; export type { OutputFormat } from '../types/index.js'; /** * Creates plain text output for any environment * No colors, no styling - maximum compatibility */ export declare function createPlainOutput(level: LogLevel, message: string, prefix?: string, stackInfo?: StackInfo | null): string; /** * Gets the appropriate log method for the level * Uses different console methods for better semantics */ export declare function getConsoleMethod(level: LogLevel): 'log' | 'info' | 'warn' | 'error'; /** * Create a simple log entry object for handlers */ export declare function createLogEntry(level: LogLevel, message: string, args: any[], prefix?: string, stackInfo?: StackInfo | null): { timestamp: string; level: string; prefix: string | undefined; message: string; args: any[]; location: { file: string; line: number; column: number; function: string | undefined; } | undefined; raw: any[]; }; /** * Format data for table display in plain text */ export declare function formatTablePlain(data: any, columns?: string[]): string; /** * Safe object serialization for logging */ export declare function safeSerialize(obj: any, maxDepth?: number, currentDepth?: number): any; //# sourceMappingURL=formatting.d.ts.map