How to use the @awesomeeng/awesome-log.log function in @awesomeeng/awesome-log

To help you get started, we’ve selected a few @awesomeeng/awesome-log 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 awesomeeng / awesome-log / examples / ExampleSubProcess / SubProcess.js View on Github external
const next = ()=>{
	if (!running) return;

	id += 1;
	let level = Log.levels[(Math.random()*Log.levels.length)|0];
	Log.log(level,"This is log message "+id);
	setTimeout(next,(Math.random()*FREQ)|0);
};

@awesomeeng/awesome-log

AwesomeLog is a Log System for enterprise nodejs applications. It provides a basic out of the box logging solution that is ready to go with zero configuration but also gives you a highly configurable logging solution that with the power to do your logging

MIT
Latest version published 1 year ago

Package Health Score

49 / 100
Full package analysis