# dahlia/logtape

Unobtrusive logging library with zero dependencies for Deno, Node.js, Bun, browsers, and edge functions

Repository: https://github.com/dahlia/logtape
Canonical: https://ross.abutalabs.com/products/logtape
Homepage: http://logtape.org/
Language: TypeScript
License: MIT
License Family: permissive
Topics: bun, deno, javascript, logging, nodejs, typescript, log, structured-logging
Last push: 2026-08-21T15:15:55+00:00

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

## Adoption (not part of the score)
Stars 1975, forks 55 (observed 2026-08-28T04:06:01.266542+00:00)

## What it is
LogTape is a zero-dependency, TypeScript-native logging library for JavaScript runtimes including Node.js, Deno, Bun, browsers, and edge functions. It follows an unobtrusive library-first design where libraries stay silent until the application configures sinks, levels, and hierarchical categories.

## Use cases
- add logging to a JavaScript library without forcing configuration on consumers
- structured logging across Node.js, Deno, and Bun with one library
- hierarchical categorized loggers with per-category log levels
- log Drizzle ORM database queries through a unified logging backend
- zero-dependency logging for browser and edge function apps

## When to choose
- you maintain a library and want logging that is silent until the host app opts in
- you need one logging API that works across all JavaScript runtimes
- you want structured logging with first-class values instead of string interpolation
- bundle size matters and you want zero dependencies

## When to avoid
- you need a batteries-included observability platform with built-in dashboards or alerting
- your stack is not JavaScript/TypeScript
- you rely on an ecosystem of log shippers tied to another logging framework

## Facets
- artifact type: library
- maturity: active
- function: logging, developer-tools
- domain: developer-tools, backend, web-development
- platform: bun, browser, cross-platform
- tags: zero-dependency, structured-logging, hierarchical-loggers, typescript-native, jsr, edge-functions, nodejs, deno, typescript

## Member repositories
- dahlia/logtape (main) score 69

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:01.266542+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-30T03:04:52.771023+00:00, confidence not recorded.
  - readme: https://github.com/dahlia/logtape (fetched 2026-08-28T04:06:01.266542+00:00, sha 11113f75e550)
  - homepage: http://logtape.org/ (fetched 2026-08-29T10:44:26.799386+00:00, sha 2e2bae56997f)
  - site_page: https://logtape.org/manual/install (fetched 2026-08-29T10:44:26.809014+00:00, sha 58a4535b29b6)
  - site_page: https://logtape.org/manual/integrations (fetched 2026-08-29T10:44:26.811267+00:00, sha 777f637d95c0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
