UNPKG

1.66 kBTypeScriptView Raw
1/**
2 * Constructs JSON to log
3 *
4 * @param {string} additionalKeys - Any additional key value pairs the user chooses to log
5 * @param {string} args - Message to log and any other information
6 * @returns {undefined} - log is printed to stdout, nothing is returned
7 */
8export declare function logAdditionalKeys(additionalKeys: object, ...args: any[]): void;
9/**
10 * Logs the message
11 *
12 * @param {string} args - Includes message and any other information to log
13 */
14export declare function info(...args: any[]): void;
15/**
16 * Logs the error
17 *
18 * @param {Object} args - Includes error and any other information to log
19 */
20export declare function error(...args: any[]): void;
21/**
22 * Logs the debugger messsages
23 *
24 * @param {Object} args - Includes debugger message and any other information to log
25 */
26export declare function debug(...args: any[]): void;
27/**
28 * Logs the Warning messsage
29 *
30 * @param {Object} args - Includes Warn message and any other information to log
31 */
32export declare function warn(...args: any[]): void;
33/**
34 * Logs the Fatal messsage
35 *
36 * @param {Object} args - Includes Fatal message and any other information to log
37 */
38export declare function fatal(...args: any[]): void;
39/**
40 * Logs the Trace messsage
41 *
42 * @param {Object} args - Includes Trace message and any other information to log
43 */
44export declare function trace(...args: any[]): void;
45/**
46 * convert log level from string to number or number to string
47 *
48 * @param {string/number} level - log level in string or number
49 * @returns {number/string} - level in number or string
50 */
51export declare function convertLogLevel(level: any): any;
52//# sourceMappingURL=log.d.ts.map
\No newline at end of file