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

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.

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 546 11

  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
  • 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 messages, metadata and errors.

    loglayer/loglayer's past year of commit activity
    TypeScript 546 MIT 11 2 0 Updated Sep 25, 2026
  • 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.

    loglayer/loglayer-go's past year of commit activity
    Go 5 MIT 0 0 0 Updated Aug 23, 2026
  • .github Public
    loglayer/.github's past year of commit activity
    0 0 0 0 Updated Apr 29, 2026
  • loglayer-plugin-boilerplate Public template

    A template for creating plugins for LogLayer

    loglayer/loglayer-plugin-boilerplate's past year of commit activity
    TypeScript 0 MIT 0 0 0 Updated Dec 31, 2025
  • loglayer-transport-boilerplate Public template

    A template for creating transports for LogLayer

    loglayer/loglayer-transport-boilerplate's past year of commit activity
    TypeScript 0 MIT 0 0 0 Updated Dec 31, 2025

People

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

Top languages

TypeScript Go