Skip to content

Commit 3749cd6

Browse files
authored
fix: add log.warn (#85)
1 parent 54ac1f2 commit 3749cd6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

lib/utils/logging.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,15 @@ export function info(...args) {
1515
console.log(...args);
1616
}
1717

18+
/**
19+
* Cover for console.warn
20+
* @param {...any} args The elements to log.
21+
* @returns {void}
22+
*/
23+
export function warn(...args) {
24+
console.warn(...args);
25+
}
26+
1827
/**
1928
* Cover for console.error
2029
* @param {...any} args The elements to log.

0 commit comments

Comments
 (0)