0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-02-17 23:45:29 -05:00

tweaking fs logger color

This commit is contained in:
Alex Kocharin 2013-10-19 00:45:36 +04:00
parent 8a2a91c1a7
commit 674f944942

View file

@ -102,14 +102,14 @@ function pad(str) {
var subsystems = [{
in: '\x1b[32m<--\x1b[39m',
out: '\x1b[33m-->\x1b[39m',
fs: '\x1b[37m-*-\x1b[39m',
fs: '\x1b[90m-=-\x1b[39m',
default: '\x1b[34m---\x1b[39m',
}, {
in: '<--',
out: '-->',
fs: '-*-',
fs: '-=-',
default: '---',
}];
}]
function print(type, msg, obj, colors) {
if (typeof type === 'number') type = getlvl(type);