forked from lix-project/lix-website
108 lines
1.8 KiB
JavaScript
Executable file
108 lines
1.8 KiB
JavaScript
Executable file
'use strict';
|
|
const figures = require('figures');
|
|
|
|
module.exports = {
|
|
error: {
|
|
badge: figures.cross,
|
|
color: 'red',
|
|
label: 'error',
|
|
logLevel: 'error'
|
|
},
|
|
fatal: {
|
|
badge: figures.cross,
|
|
color: 'red',
|
|
label: 'fatal',
|
|
logLevel: 'error'
|
|
},
|
|
fav: {
|
|
badge: figures('❤'),
|
|
color: 'magenta',
|
|
label: 'favorite',
|
|
logLevel: 'info'
|
|
},
|
|
info: {
|
|
badge: figures.info,
|
|
color: 'blue',
|
|
label: 'info',
|
|
logLevel: 'info'
|
|
},
|
|
star: {
|
|
badge: figures.star,
|
|
color: 'yellow',
|
|
label: 'star',
|
|
logLevel: 'info'
|
|
},
|
|
success: {
|
|
badge: figures.tick,
|
|
color: 'green',
|
|
label: 'success',
|
|
logLevel: 'info'
|
|
},
|
|
wait: {
|
|
badge: figures.ellipsis,
|
|
color: 'blue',
|
|
label: 'waiting',
|
|
logLevel: 'info'
|
|
},
|
|
warn: {
|
|
badge: figures.warning,
|
|
color: 'yellow',
|
|
label: 'warning',
|
|
logLevel: 'warn'
|
|
},
|
|
complete: {
|
|
badge: figures.checkboxOn,
|
|
color: 'cyan',
|
|
label: 'complete',
|
|
logLevel: 'info'
|
|
},
|
|
pending: {
|
|
badge: figures.checkboxOff,
|
|
color: 'magenta',
|
|
label: 'pending',
|
|
logLevel: 'info'
|
|
},
|
|
note: {
|
|
badge: figures.bullet,
|
|
color: 'blue',
|
|
label: 'note',
|
|
logLevel: 'info'
|
|
},
|
|
start: {
|
|
badge: figures.play,
|
|
color: 'green',
|
|
label: 'start',
|
|
logLevel: 'info'
|
|
},
|
|
pause: {
|
|
badge: figures.squareSmallFilled,
|
|
color: 'yellow',
|
|
label: 'pause',
|
|
logLevel: 'info'
|
|
},
|
|
debug: {
|
|
badge: figures('⬤'),
|
|
color: 'red',
|
|
label: 'debug',
|
|
logLevel: 'debug'
|
|
},
|
|
await: {
|
|
badge: figures.ellipsis,
|
|
color: 'blue',
|
|
label: 'awaiting',
|
|
logLevel: 'info'
|
|
},
|
|
watch: {
|
|
badge: figures.ellipsis,
|
|
color: 'yellow',
|
|
label: 'watching',
|
|
logLevel: 'info'
|
|
},
|
|
log: {
|
|
badge: '',
|
|
color: '',
|
|
label: '',
|
|
logLevel: 'info'
|
|
}
|
|
};
|