small fix for better pipelog support
This commit is contained in:
parent
0aafb76046
commit
4f0185a1aa
1
.bithoundrc
Normal file
1
.bithoundrc
Normal file
@ -0,0 +1 @@
|
||||
{}
|
4
index.js
4
index.js
@ -81,9 +81,11 @@ var BeautylogOS;
|
||||
case 'warn':
|
||||
logText = localBl.warnPrefix + logText.bold;
|
||||
break;
|
||||
case 'log':
|
||||
default:
|
||||
logText.blue.bold;
|
||||
console.log(('unknown logType for "' + logText + '"').red.bold);
|
||||
break;
|
||||
}
|
||||
console.log(logText);
|
||||
return true;
|
||||
@ -201,7 +203,7 @@ var beautylog = function (logPlatform) {
|
||||
return beautylogBrowser;
|
||||
break;
|
||||
default:
|
||||
console.log("something is strage about the way you required beautylog");
|
||||
console.log("something is strange about the way you required beautylog");
|
||||
break;
|
||||
}
|
||||
};
|
||||
|
@ -46,9 +46,11 @@ module BeautylogOS {
|
||||
case 'warn':
|
||||
logText = localBl.warnPrefix + logText.bold;
|
||||
break;
|
||||
case 'log':
|
||||
default:
|
||||
logText.blue.bold;
|
||||
console.log(('unknown logType for "' + logText + '"').red.bold);
|
||||
break;
|
||||
}
|
||||
console.log(logText);
|
||||
return true;
|
||||
|
@ -15,7 +15,7 @@ var beautylog = function(logPlatform:string = "os") {
|
||||
return beautylogBrowser;
|
||||
break;
|
||||
default:
|
||||
console.log("something is strage about the way you required beautylog");
|
||||
console.log("something is strange about the way you required beautylog");
|
||||
break;
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user