Skip to content

Commit 7f4cba8

Browse files
committed
feat(utilities): Add info level log method
1 parent 2775814 commit 7f4cba8

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

core/lib/utilities.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,17 @@ const log = Object.assign({
3131
*/
3232
const debug = log.debug.bind(log);
3333

34+
/**
35+
* @func info
36+
* @desc Coloured info log
37+
* @param {*} msg - The variadic messages to log out.
38+
* @return {void}
39+
*/
40+
const info = log.info.bind(log);
41+
3442
/**
3543
* @func warning
36-
* @desc Coloured error log
44+
* @desc Coloured warning log
3745
* @param {*} e - The variadic messages to log out.
3846
* @return {void}
3947
*/
@@ -62,6 +70,7 @@ const reportError = function (message) {
6270

6371
module.exports = {
6472
debug,
73+
info,
6574
warning,
6675
error,
6776
log,

0 commit comments

Comments
 (0)