-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathindex.d.ts
More file actions
44 lines (44 loc) · 1.51 KB
/
Copy pathindex.d.ts
File metadata and controls
44 lines (44 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/**
* Highest log level. Typically used for debugging purposes.
*
* If the first argument is a string, all arguments are passed to node's util.format() before being emitted.
*
* If the first argument is not a string, all arguments will be emitted directly.
*
* @param msg Message to log
* @param args Additional arguments
*/
export function debug(msg: any, ...args: any[]): void;
/**
* Standard log level. Typically used for user information.
*
* If the first argument is a string, all arguments are passed to node's util.format() before being emitted.
*
* If the first argument is not a string, all arguments will be emitted directly.
*
* @param msg Message to log
* @param args Additional arguments
*/
export function info(msg: any, ...args: any[]): void;
/**
* Warning log level. Typically used for warnings.
*
* If the first argument is a string, all arguments are passed to node's util.format() before being emitted.
*
* If the first argument is not a string, all arguments will be emitted directly.
*
* @param msg Message to log
* @param args Additional arguments
*/
export function warn(msg: any, ...args: any[]): void;
/**
* Error log level. Typically used when things went horribly wrong.
*
* If the first argument is a string, all arguments are passed to node's util.format() before being emitted.
*
* If the first argument is not a string, all arguments will be emitted directly.
*
* @param msg Message to log
* @param args Additional arguments
*/
export function error(msg: any, ...args: any[]): void;