UNPKG

@boost/log

Version:

Lightweight level based logging system.

20 lines 639 B
import type { LogItem } from './types'; /** * Format the item as if it's being logged to `console`. * _Only_ inclues the label and message. */ export declare function console(item: LogItem): string; /** * Format the item into a human-readable message with all item fields included. * This is the default format for most transports. */ export declare function debug(item: LogItem): string; /** * Format the entire item into JSON. */ export declare function json(item: LogItem): string; /** * Format the item using _only_ the message. */ export declare function message(item: LogItem): string; //# sourceMappingURL=formats.d.ts.map