Skip to content
@loglayer

LogLayer

Home of the loglayer library, a modern logging library for Typescript / Javascript, and Go

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

DocumentationGetting StartedGitHub

Go

Latest version Go Reference Go version MIT License

DocumentationGetting StartedGitHub


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.

Popular repositories Loading

  1. loglayer loglayer Public

    A modern logging library for Javascript / Typescript that routes logs to various logging libraries, cloud providers, files, StatsD, and OpenTelemetry while providing a fluent API for specifying log…

    TypeScript 498 10

  2. loglayer-go loglayer-go Public

    A modern logging library for Go that routes logs to various logging libraries, cloud providers, files, and OpenTelemetry while providing a fluent API for specifying log messages, metadata and errors.

    Go 5

  3. loglayer-transport-boilerplate loglayer-transport-boilerplate Public template

    A template for creating transports for LogLayer

    TypeScript

  4. loglayer-plugin-boilerplate loglayer-plugin-boilerplate Public template

    A template for creating plugins for LogLayer

    TypeScript

  5. .github .github Public

Repositories

Showing 5 of 5 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…