Fancy output with fallback for minimal environments. Consistent command-line interface (CLI) experience. Spam prevention by throttling logs. console uses std in the underlying so calling wrapStd redirects console too. The benefit of this function is that things like console.info will be correctly redirected to the corresponding type. Any instance of consola that inherits the mocked instance, will apply provided callback again. This way, mocking works for withTag scoped loggers without the need for extra effort. Choose between one of the built-in reporters or bring in your own one. By default FancyReporter is registered for modern terminals or BasicReporter will be used if running in limited environments such as CIs. A reporter (class or object) exposes log(logObj) method. To get more info about how to write your own reporter, take a look at the linked implementations.

Features

  • Easy to use
  • Browser support
  • Pluggable reporters
  • Pause/Resume support
  • Tag support
  • Mocking support

Project Samples

Project Activity

See All Activity >

Categories

Terminals, Logging

License

MIT License

Follow Consola

Consola Web Site

You Might Also Like
Enterprise-Grade Monitoring - Zero Compromises Icon
Enterprise-Grade Monitoring - Zero Compromises

PRTG delivers deep visibility and proactive alerts for complex IT. Monitor, analyze, and optimize - all in one platform.

Managing a large, distributed IT environment demands more than basic monitoring. PRTG provides a unified view of your entire infrastructure - across sites, clouds, and hybrid setups. Advanced analytics, customizable dashboards, and granular access controls empower your team to detect issues early and respond fast. Automate reporting, ensure compliance, and scale effortlessly as your network grows. With PRTG, you get reliability, flexibility, and the insights you need to keep your business running at peak performance.
Start Your Free PRTG Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Consola!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Terminals, JavaScript Logging Software

Registered

2022-05-16