JSON logger for Node.js and browser. A transport in most logging libraries is something that runs in-process to perform some operation with the finalized log line. For example, a transport might send the log line to a standard syslog server after processing the log line and reformatting it. Roarr does not support in-process transports because Node processes are single threaded processes (ignoring some technical details). Given this restriction, Roarr purposefully offloads handling of the logs to external processes so that the threading capabilities of the OS can be used (or other CPUs).

Features

  • Roarr logger API for producing logs is the same in Node.js and browser
  • Roarr logs are consumed differently in Node.js and browser
  • In Node.js, Roarr prints all or none logs
  • In a browser, Roarr calls globalThis.ROARR.write for every log message
  • sequence represents async context hierarchy in ltree format
  • Creates a child logger that appends child context to every subsequent message

Project Samples

Project Activity

See All Activity >

Categories

JSON

Follow Roarr

Roarr Web Site

Other Useful Business Software
Powerful App Monitoring Without Surprise Bills Icon
Powerful App Monitoring Without Surprise Bills

AppSignal starts at $23/month with all features included. No overages, no hidden fees. 30-day free trial.

Tired of monitoring tools that punish you for scaling? AppSignal offers transparent, predictable pricing with every feature unlocked on every plan. Track errors, monitor performance, detect anomalies, and manage logs across Ruby, Python, Node.js, and more. Trusted by developers since 2012 with free dev-to-dev support. No credit card required to start your 30-day trial.
Try AppSignal Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Roarr!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript JSON Software

Registered

2023-10-16