package.dist.logger.d.ts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mermaid Show documentation
Show all versions of mermaid Show documentation
Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.
export type LogLevel = 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'fatal';
export declare const LEVELS: Record;
export declare const log: Record;
/**
* 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) => void;