switch to blue for info
This commit is contained in:
parent
2d472b3097
commit
9f20a533be
4
dist/beautylog.log.helpers.js
vendored
4
dist/beautylog.log.helpers.js
vendored
@ -26,7 +26,7 @@ let coloredString = plugins.beautycolor.coloredString;
|
|||||||
let localBl = {
|
let localBl = {
|
||||||
dirPrefix: coloredString(' DIR ', 'white', 'blue') + ' ',
|
dirPrefix: coloredString(' DIR ', 'white', 'blue') + ' ',
|
||||||
errorPrefix: coloredString(' ', 'red', 'red') + coloredString(' Error: ', 'red', 'black') + ' ',
|
errorPrefix: coloredString(' ', 'red', 'red') + coloredString(' Error: ', 'red', 'black') + ' ',
|
||||||
infoPrefix: coloredString(' ', 'pink', 'pink') + coloredString(' INFO ', 'pink', 'black') + ' ',
|
infoPrefix: coloredString(' ', 'blue', 'blue') + coloredString(' INFO ', 'blue', 'black') + ' ',
|
||||||
logPrefix: coloredString(' ', 'white', 'cyan') + coloredString(' Log: ', 'cyan', 'black') + ' ',
|
logPrefix: coloredString(' ', 'white', 'cyan') + coloredString(' Log: ', 'cyan', 'black') + ' ',
|
||||||
okPrefix: coloredString(' ', 'green', 'green') + coloredString(' OK! ', 'green', 'black') + ' ',
|
okPrefix: coloredString(' ', 'green', 'green') + coloredString(' OK! ', 'green', 'black') + ' ',
|
||||||
successPrefix: coloredString(' ', 'green', 'green') + coloredString(' Success: ', 'green', 'black') + ' ',
|
successPrefix: coloredString(' ', 'green', 'green') + coloredString(' Success: ', 'green', 'black') + ' ',
|
||||||
@ -42,7 +42,7 @@ exports.logNode = function (logType, logText) {
|
|||||||
logText = localBl.errorPrefix + coloredString(logText, 'red');
|
logText = localBl.errorPrefix + coloredString(logText, 'red');
|
||||||
break;
|
break;
|
||||||
case 'info':
|
case 'info':
|
||||||
logText = localBl.infoPrefix + coloredString(logText, 'pink');
|
logText = localBl.infoPrefix + coloredString(logText, 'blue');
|
||||||
break;
|
break;
|
||||||
case 'normal':
|
case 'normal':
|
||||||
logText = localBl.logPrefix + coloredString(logText, 'cyan');
|
logText = localBl.logPrefix + coloredString(logText, 'cyan');
|
||||||
|
@ -28,7 +28,7 @@ let coloredString = plugins.beautycolor.coloredString
|
|||||||
let localBl = {
|
let localBl = {
|
||||||
dirPrefix: coloredString(' DIR ', 'white', 'blue') + ' ',
|
dirPrefix: coloredString(' DIR ', 'white', 'blue') + ' ',
|
||||||
errorPrefix: coloredString(' ', 'red','red') + coloredString(' Error: ', 'red', 'black') + ' ',
|
errorPrefix: coloredString(' ', 'red','red') + coloredString(' Error: ', 'red', 'black') + ' ',
|
||||||
infoPrefix: coloredString(' ', 'pink', 'pink') + coloredString(' INFO ', 'pink', 'black') + ' ',
|
infoPrefix: coloredString(' ', 'blue', 'blue') + coloredString(' INFO ', 'blue', 'black') + ' ',
|
||||||
logPrefix: coloredString(' ', 'white', 'cyan') + coloredString(' Log: ', 'cyan', 'black') + ' ',
|
logPrefix: coloredString(' ', 'white', 'cyan') + coloredString(' Log: ', 'cyan', 'black') + ' ',
|
||||||
okPrefix: coloredString(' ', 'green', 'green') + coloredString(' OK! ', 'green', 'black') + ' ',
|
okPrefix: coloredString(' ', 'green', 'green') + coloredString(' OK! ', 'green', 'black') + ' ',
|
||||||
successPrefix: coloredString(' ', 'green', 'green') + coloredString(' Success: ', 'green', 'black') + ' ',
|
successPrefix: coloredString(' ', 'green', 'green') + coloredString(' Success: ', 'green', 'black') + ' ',
|
||||||
@ -45,7 +45,7 @@ export let logNode = function (logType: string, logText: string) {
|
|||||||
logText = localBl.errorPrefix + coloredString(logText, 'red')
|
logText = localBl.errorPrefix + coloredString(logText, 'red')
|
||||||
break
|
break
|
||||||
case 'info':
|
case 'info':
|
||||||
logText = localBl.infoPrefix + coloredString(logText, 'pink')
|
logText = localBl.infoPrefix + coloredString(logText, 'blue')
|
||||||
break
|
break
|
||||||
case 'normal':
|
case 'normal':
|
||||||
logText = localBl.logPrefix + coloredString(logText, 'cyan')
|
logText = localBl.logPrefix + coloredString(logText, 'cyan')
|
||||||
|
Loading…
Reference in New Issue
Block a user