How to use the tracer.close function in tracer

To help you get started, we’ve selected a few tracer examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github baryon / tracer / example / setLevel.js View on Github external
logger.error('hello %s', 'world', 123);
}

console.log('ALL default Level')
hello();
bb.hi()


console.log('setLevel(debug)')
tracer.setLevel('debug');
hello();
bb.hi()


console.log('close all')
tracer.close();

hello();
bb.hi()


console.log('setLevel(0) log')
tracer.setLevel(0);
hello();
bb.hi()

tracer

A powerful and customizable logging library for node.js. support color console with timestamp, line number, method name, file name and call stack. you can set transport to file, stream, database(ex: mongodb and clouddb, simpledb). keywords: log, logger, t

MIT
Latest version published 1 year ago

Package Health Score

57 / 100
Full package analysis