nowfound

Dev tools · January 6, 2025

LogLayer – Unified logger that routes logs to various logging libraries

As a longtime TypeScript/Node.js developer, I've often faced challenges with logging—choosing, using, and maintaining the right logger for various projects. While most loggers offer the usual methods like "info", "warn", and "error", they vary significantly in how they handle structured metadata or Error objects. This can lead to ad-hoc solutions, like serializing errors or writing custom pipelines, just to get logs formatted correctly. I built LogLayer to address these pain points by introducing a fluid, expressive API. With methods like "withMetadata" and "withError", LogLayer…

LogLayer – Unified logger that routes logs to various logging libraries launched on January 6, 2025 with 56 votes, #470 of 6,141 launches that month and more than 90% of that year's launches. The site was still online in September 2026, 1 year on.

Visit loglayer.dev ↗Alternativestop 8% of January 2025

In plain words

LogLayer is a logging library for TypeScript and Node.js that routes logs to various logging libraries through a unified API. It provides methods like "withMetadata" and "withError" to handle structured data and error objects more cleanly than traditional loggers. Logs pass through transport adapters that connect to preferred logging libraries, allowing developers to avoid custom serialization and maintain consistent formatting across projects.

written from the facts on this page · September 2026

From the sources

Auto-instrumentation gives baseline metrics, but you need pinpointed metrics for custom logic. Metrics often get forgotten because they require separate code paths from logs. LogLayer v7 adds StatsD support via hot-shots, letting you send metrics and logs in one call. When you log an error, increment your counter. When you log a request, track its duration. Metrics and logs stay in sync.

A structured logging library with a fluent API for specifying log messages, metadata and errors

A layer on top of Javascript logging libraries to provide a consistent logging experience. Write logs with a fluid API that makes adding tags, metadata and errors simple. Use console logging when starting out, then switch to another logging provider later without changing your application code. Transform, enrich, and filter logs with plugins that lets you customize every aspect of your logging pipeline. Fan out logs to multiple logging libraries like Pino and cloud providers like DataDog at the same time. A transport and plugin is available for connecting logs to OpenTelemetry. Capture rich, self-contained log entries that span async boundaries using the Wide Events mixin. Rotate log files…from loglayer.dev

In the maker’s words, at launch

As a longtime TypeScript/Node.js developer, I've often faced challenges with logging—choosing, using, and maintaining the right logger for various projects. While most loggers offer the usual methods like "info", "warn", and "error", they vary significantly in how they handle structured metadata or Error…

Does a similar job

all alternatives →
  • Loglayer: A fluid logging interface for JavaScript loggers2024 · github.com · ▲8

    This has been in use on our production systems for around two years now at Switchboard (https://switchboard.app). The problem we had was that we were using two different logging libs for our frontend and backend at the time (specifically roarr, and bunyan), and the API for the logging libs were not compatible with each other. Loglayer was designed to wrap around popular JS logging libraries where you can swap out any underlying library without re-writing your log entries to adapt to the new library. One common example is using plain "console" as a starting integration, but later…

  • toast.log2020 · toastlog.com · ▲543

    🤯 Get console errors right on your page.

  • Logjack2018 · ▲68

    A logging API

  • AppLogger by PLG Works2022 · ▲522

    React Native library to backtrace your testing steps

  • Timber.io2017 · timber.io · ▲318

    Log better. Solve problems faster.

  • LI
    Log.io (Realtime log monitoring, powered by node.js + socket.io)2011 · logio.org · ▲205

    Mengutamakan tampilan modern dan kemudahan navigasi, BUSUR4D menghadirkan pengalaman gaming yang terasa lebih sederhana namun tetap menarik. Beragam pilihan permainan dapat dijelajahi dalam satu platform dengan interface responsif dan desain visual yang nyaman, sehingga aktivitas gaming menjadi lebi

More dev tools this month

the category →
  • Contribute to oosexgang/hackios-xnu-kernel development by creating an account on GitHub.

    Dev tools · 1d ago · github.com

  • /dev/null▲492

    a social network for devs

    Dev tools · 5d ago · dev-null.sh

  • open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.

    Dev tools · 29d ago · github.com

  • Contribute to reladraw/reladraw development by creating an account on GitHub.

    Dev tools · 27d ago · github.com

  • OpenBot▲362

    Grok Bot alternative: free, local, open-source, multiplayer

    Dev tools · 25d ago · openbot.run

  • Talanoa▲346

    Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…

    Dev tools · 22d ago · talanoa.email

Source: Show HN post ↗ · launch text quoted in part

Launched alongside, January 2025

the whole month →
  • Hello! I'm Byran. I spent the past ~6 months engineering a laptop from scratch. It's fully open-source on GH at: https://github.com/Hello9999901/laptop

    Dev tools · 2025 · byran.ee

  • TI

    I realized that the PDF engines of modern desktop browsers (PDFium and PDF.js) support JavaScript with enough I/O primitives to make a basic game like Tetris. It was a bit tricky to find a union of features that work in both engines, but in the end it turns out that showing/hiding annotation "fields" works well to make monochrome pixels, and keyboard input can be achieved by typing in a text input box. All in all it's quite janky but a nice reminder of how general purpose PDF scripting can be. The linked PDF is all ASCII so you can just open it in a text editor, or have a look at…

    Life & fun · 2025 · th0mas.nl

  • 21st.dev▲1,211

    I originally built this app to organize and reuse interesting React + Tailwind components I came across on Twitter, inspired by the shadcn/ui approach. Later, a friend started contributing their own components, and it got me thinking—this could grow into something bigger, like an NPM for design engineers to share and use components. Would love to hear your thoughts!

    Dev tools · 2025 · 21st.dev

  • Create lifelike, personalized AI avatars from text prompts

    AI · 2025 · jogg.ai

  • Turn Figma designs into full stack apps with AI

    Dev tools · 2025 · figma.com

  • CSS library based on Counter Strike 1.6 UI.

    Life & fun · 2025 · cs16.samke.me