Prepare for deploy test
This commit is contained in:
@@ -73,15 +73,13 @@ Log.mailerror = function(error) {
|
||||
);
|
||||
};
|
||||
|
||||
if (isDev) {
|
||||
Log.debug = function(info) {
|
||||
Log.debug = function(info, force) {
|
||||
if (isDev || force === true) {
|
||||
log(
|
||||
'[DBG] ' + (info !== undefined ? info : ''),
|
||||
Colors.ORANGE
|
||||
);
|
||||
};
|
||||
} else {
|
||||
Log.debug = function(){};
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = Log;
|
||||
|
||||
Reference in New Issue
Block a user