Skip to content

Latest commit

 

History

History
64 lines (47 loc) · 2.93 KB

File metadata and controls

64 lines (47 loc) · 2.93 KB

LogLayer

LogLayer

A unified, transport-agnostic structured logging API

Fluent calls for messages, metadata, and errors.
Bring your own underlying logger. Send to multiple destinations at once.

Available for TypeScript / JavaScript and Go.


TypeScript / JavaScript

NPM version NPM Downloads TypeScript Bundle size MIT License

Documentation • Getting Started • GitHub

Go

Latest version Go Reference Go version MIT License

Documentation • Getting Started • GitHub


Highlights

Both implementations share the same design ideas:

  • Bring your own logger — wraps Pino / Winston / Bunyan / Consola / tslog / ... (TS) and Zerolog / Zap / log/slog / phuslu / logrus / charmlog (Go)
  • Multi-transport — fan out the same log to several destinations at once
  • Cloud-native — first-class transports for Datadog, OpenTelemetry, and others
  • Extensible — plugins for redaction, sampling, trace injection, and more

Made with care by Theo Gravity. Logo by Akshaya Madhavan.