# baryon/tracer

A powerful and customizable logging library for node.js

Repository: https://github.com/baryon/tracer
Canonical: https://ross.abutalabs.com/products/tracer
Language: JavaScript
License Family: other
Topics: trace, logger, javascript, nodejs, debug
Last push: 2024-06-25T03:06:09+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5297, "days_push": 799, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1151, forks 116 (observed 2026-08-28T04:03:46.659442+00:00)

## What it is
tracer is a customizable logging library for Node.js that prints log messages with timestamps, file names, method names, line numbers, and call stacks. It supports colored console output, custom log levels, micro-template formatting, and pluggable transports including files, streams, and databases.

## Use cases
- add structured logging with timestamps and line numbers to a node.js app
- print colored console logs in node.js
- write daily rotating log files like log4j
- send logs to file, stream, or database transports
- define custom logging levels and output formats

## When to choose
- you want detailed log context (file, method, line number, call stack) out of the box
- you need colorized console output or daily log files in Node.js
- you want a lightweight, customizable logger with pluggable transports

## When to avoid
- you need structured JSON logging or log aggregation integrations out of the box
- you are not working in Node.js
- you need a logger with active development and guaranteed long-term maintenance

## Facets
- artifact type: library
- maturity: maintenance
- function: logging
- domain: developer-tools, backend
- platform: cli
- tags: logger, trace, debug, color-console, daily-log, transports, nodejs

## Member repositories
- baryon/tracer (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:46.659442+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:33:36.098607+00:00, confidence not recorded.
  - readme: https://github.com/baryon/tracer (fetched 2026-08-28T04:03:46.659442+00:00, sha 80261de03c1d)
  - registry_npm: https://registry.npmjs.org/tracer (fetched 2026-08-29T12:38:30.503447+00:00, sha ac146425e75b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
