Skip to content

Transports

Transports are the way LogLayer sends logs to a logging library.

Available Transports

Built-in Transports

NameDescription
Console Browser ServerSimple console-based logging for development
Blank Transport Browser ServerFor quickly creating / prototyping new transports

Logging Libraries

NamePackageChangelogDescription
AWS Lambda Powertools Logger ServernpmChangelogLogging for AWS Lambdas
Bunyan Browser ServernpmChangelogJSON logging library for Node.js
Consola ServernpmChangelogElegant console logger for Node.js and browser
Electron-log ServernpmChangelogLogging library for Electron applications
Log4js ServernpmChangelogPort of Log4j framework to Node.js
loglevel Browser ServernpmChangelogMinimal lightweight logging for JavaScript
Pino Browser ServernpmChangelogVery low overhead Node.js logger
Roarr Browser ServernpmChangelogJSON logger for Node.js and browser
Signale ServernpmChangelogHighly configurable CLI logger
tslog Browser ServernpmChangelogPowerful, fast and expressive logging for TypeScript and JavaScript
Tracer ServernpmChangelogTracer logging library for Node.js
Winston Browser ServernpmChangelogA logger for just about everything

Cloud Providers

NamePackageChangelogDescription
Axiom ServernpmChangelogSend logs to Axiom cloud logging platform
Datadog ServernpmChangelogServer-side logging for Datadog
Datadog Browser Logs BrowsernpmChangelogBrowser-side logging for Datadog
Dynatrace ServernpmChangelogServer-side logging for Dynatrace
Google Cloud Logging ServernpmChangelogServer-side logging for Google Cloud Platform
New Relic ServernpmChangelogServer-side logging for New Relic
Sumo Logic ServernpmChangelogSend logs to Sumo Logic via HTTP Source
VictoriaLogs ServernpmChangelogSend logs to VictoriaLogs by Victoria Metrics using JSON stream API

Other Transports

NamePackageChangelogDescription
HTTP Browser ServernpmChangelogGeneric HTTP transport with batching, compression, and retry support
Log File Rotation ServernpmChangelogWrite logs to local files with rotation support
OpenTelemetry ServernpmChangelogSend logs using the OpenTelemetry Logs SDK
Pretty Terminal ServernpmChangelogPretty prints logs in the terminal with text search / advanced interactivity.
Simple Pretty Terminal Browser ServernpmChangelogPretty prints logs in the browser / terminal / Next.js.