mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 15:31:52 +00:00
config redirect
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
export declare 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;
|
||||
Reference in New Issue
Block a user