Add logger.ok
This commit is contained in:
parent
bc7295ba29
commit
f69927f348
1 changed files with 4 additions and 0 deletions
|
@ -48,6 +48,10 @@ var logger = (function () { // eslint-disable-line no-unused-vars
|
|||
dumpln(color.red + msg + color.clear)
|
||||
}
|
||||
|
||||
function ok(msg) {
|
||||
dumpln(color.green + msg + color.green)
|
||||
}
|
||||
|
||||
function JSError (msg) {
|
||||
error(comment('ERROR: ' + msg))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue