UNPKG

mermaid

Version:

Markdown-ish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.

10 lines (9 loc) 404 B
export type LogLevel = 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'fatal'; export declare const LEVELS: Record<LogLevel, number>; export declare const log: Record<keyof typeof LEVELS, typeof console.log>; /** * Sets a log level * * @param level - The level to set the logging to. Default is `"fatal"` */ export declare const setLogLevel: (level?: keyof typeof LEVELS | number | string) => void;