raynos

raynos/debug-logtron

A debug logger with a logtron interface.

JavaScript
3
5
MIT License

Testing-logger is a specialized logger designed for use in test suites and harnesses, providing a clean interface for logging during tests. It prints info and above by default, and debug logs only when `NODE_DEBUG=mylibrary` is set, writing all logs to stderr and throwing exceptions for errors or fatal calls. This tool is ideal for developers who want to instrument their applications and libraries with a production logger but avoid log spam during testing, making it perfect for test-driven development and ensuring minimal state between tests.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of raynos/debug-logtron

Account's avatar
tap-producing test harness for node and browsers

Top contributors

Raynos's profile
Raynos
83 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet