UNPKG

@vrerv/md-to-notion

Version:

An upload of markdown files to a hierarchy of Notion pages.

26 lines 715 B
/// <reference types="node" /> export declare enum LogLevel { DEBUG = "debug", INFO = "info", WARN = "warn", ERROR = "error" } export interface Logger { (level: LogLevel, message: string, extraInfo?: Record<string, unknown>): void; } export declare function makeConsoleLogger(name?: string, logLevel?: LogLevel, options?: { inspectOptions: { depth: null; }; stdout: NodeJS.WriteStream & { fd: 1; }; stderr: NodeJS.WriteStream & { fd: 2; }; }): Logger; /** * Transforms a log level into a comparable (numerical) value ordered by severity. */ export declare function logLevelSeverity(level: LogLevel): number; //# sourceMappingURL=logging.d.ts.map