good-squeeze-pretty
v1.0.4
Published
Transform stream to format the output of good-squeeze's savejson component.
Downloads
65
Readme
#good-squeeze-pretty
A simple pretty-printer for the output of good-squeeze's safejson component. Accepts tab width as the only argument, which defaults to 2.
#usage
const goodOptions = {
ops: {
interval: 1000
},
reporters: {
file: [{
module: 'good-squeeze',
name: 'Squeeze',
args: [{ ops: '*' }]
}, {
module: 'good-squeeze',
name: 'SafeJson'
}, {
module: 'good-squeeze-pretty',
args: [4]
}, {
module: 'good-file',
args: ['./file.log']
}]
}
};
#see also good good-squeeze