Manuel Araoz
10 years ago
4 changed files with 40 additions and 45 deletions
@ -1,17 +0,0 @@ |
|||
'use strict'; |
|||
|
|||
var backup = console.log; |
|||
var ebackup = console.error; |
|||
var nop = function() {}; |
|||
var mute = function() { |
|||
console.log = nop; |
|||
console.error = nop; |
|||
}; |
|||
|
|||
var unmute = function() { |
|||
console.log = backup; |
|||
console.error = ebackup; |
|||
}; |
|||
|
|||
module.exports.mute = mute; |
|||
module.exports.unmute = unmute; |
Loading…
Reference in new issue