A flexible, transport-based TypeScript-first logging system for JavaScript applications.
// readme
/ˈkærəvæn/
A small, typed logging library for JavaScript applications. Caravan gives you a core logger with levels, context and pluggable transports, plus a set of transport packages for where the logs actually go.
Packages
@caravan-logger/logger: the core logger. Handles levels, context inheritance and dispatching records to transports.@caravan-logger/transport-stream: a transport that writes log records to a Node.js or webWritableStream, optionally formatting records before they’re written.@caravan-logger/transport-datadog: a transport that sends log records to Datadog’s Logs API.@caravan-logger/transport-better-stack: a transport that sends log records to Better Stack’s Logs ingesting API.@caravan-logger/transport-sqlite: a transport that inserts…