UNPKG

@notionhq/client

Version:

A simple and easy to use client for the Notion API

13 lines 473 B
export declare enum LogLevel { DEBUG = "debug", INFO = "info", WARN = "warn", ERROR = "error" } export type Logger = (level: LogLevel, message: string, extraInfo: Record<string, unknown>) => void; export declare function makeConsoleLogger(name: string): 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