@bolojs/log
v0.3.0
Published
Internal diagnostics for bolo — a logtape wrapper with Node and browser entrypoints.
Readme
@bolojs/log
Internal diagnostics for bolo. A thin logtape wrapper with Node and browser entrypoints, plus an error-hint registry for translating common failure signatures into actionable messages.
Install
npm i @bolojs/logUsage
// Node
import { getLogger } from "@bolojs/log";
// Browser
import { getLogger } from "@bolojs/log/browser";
const logger = getLogger(["myapp"]);
logger.info("started");Used internally by every bolo package for consistent, structured logging across the main thread, workers, and the ServiceWorker.
Docs
https://bolojs.dev/docs/api/
License
Apache-2.0
