This repository has been archived on 2026-05-22. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blowfish/assets/lib/mermaid/logger.d.ts
T
2024-03-07 20:32:21 +00:00

10 lines
404 B
TypeScript

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;