This commit is contained in:
parent
4b35583782
commit
e77051ccc4
1987 changed files with 1147290 additions and 5648 deletions
9
themes/blowfish/assets/lib/mermaid/logger.d.ts
vendored
Normal file
9
themes/blowfish/assets/lib/mermaid/logger.d.ts
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
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;
|
Loading…
Add table
Add a link
Reference in a new issue