nowfound

Work · September 16, 2024

UL

Universal Logger for Node, Deno, Bun, Browser

Hey everyone, I had posted about my project https://adzejs.com a couple of years ago and it was met with a lot of interest, so I'm writing about the major v2 update that's just been released to see if anyone is interested. What makes Adze interesting compared to other logging libraries like pino, bunyan, winston, etc? Adze is universal. This means that Adze will "just work" in all of your environments. This is especially handy when working with SSR projects like sveltekit, nuxt, next, etc. You can also use Adze with Bun or Deno without any special adaptations or considerations.…

In plain words

Adze is a logging library for Node, Deno, Bun, and browsers that works consistently across all environments without special configuration. It is designed for developers building server-side rendering projects like SvelteKit, Nuxt, and Next.js, as well as those using alternative JavaScript runtimes. Version 2 features a streamlined API with static class methods, generates 100,000 logs in approximately 700 milliseconds, and is 13.29 kilobytes when minified and compressed.

written from the facts on this page · September 2026

From the sources

In the maker’s words, at launch

Hey everyone, I had posted about my project https:&#x2F;&#x2F;adzejs.com a couple of years ago and it was met with a lot of interest, so I'm writing about the major v2 update that's just been released to see if anyone is interested. What makes Adze interesting compared to other logging libraries like pino, bunyan, winston, etc? Adze is universal. This means that Adze will "just work" in all of your environments. This is especially handy when working with SSR projects like sveltekit, nuxt, next, etc. You can also use Adze with Bun or Deno without any special adaptations or considerations. Adze 2.x is also smaller (13.29kb minified and brotlied) and faster than the original. Benchmarks put it at generating 100,000 logs in ~700ms. Version 2 also offers a cleaner API than version 1 as it no longer uses factories and instead uses static class methods. import adze from 'adze'; &#x2F;&#x2F; Generating a log adze.timestamp.ns('foo').log('A log with a timestamp and namespace.'); &#x2F;&#x2F; Making a child logger const logger = adze.timestamp.ns('foo').seal(); logger.log('A log with a timestamp and namespace.'); Adze 2.x comes with support for four different types of log formats out-of-the-box. These formats include: - a human-readable pretty format - a machine-readable JSON format that is compatible with the Bunyan CLI - a format for common logs - and a format for simple stdout logging Adze 2.x also offers better extensibility support. You can now create custom formatters and custom middleware for modifying log behavior or transporting them to another source (like a file, etc). Log listeners are also still supported. Changing formats is easy. import adze, { setup } from 'adze'; setup({ format: 'json', &#x2F;&#x2F; <- Change with an env var }); adze.withEmoji.success('This is a pretty log!'); Adze 2.x also includes a handy new template literal logging feature for times where you are repeating logs frequently with slightly different messages (like error messages in a catch). Adze offers a new sealTag terminator that will seal your configuration into a template literal tag function to further simplify your logging. Example import adze from 'adze'; &#x2F;&#x2F; Let's create a reusable ERR tag with emoji's, timestamps, and the "my-module" namespace. const ERR = adze.withEmoji.timestamp.ns('my-module').sealTag(); try { &#x2F;&#x2F; do something that could fail... } catch (e) { ERR`Printing my error as an error log! ${e}`; } There is much, much more to Adze than what I can present in this post, but please check it out at https:&#x2F;&#x2F;adzejs.com and let me know what you think! Try it out! Also, please give it a star to bookmark it at https:&#x2F;&#x2F;github.com&#x2F;adzejs&#x2F;adze if you might use it in the future! I appreciate any feedback as well. This has been a huge labor of love for me and I hope it benefits you all as well. Thank you!

More work this month

the category →
  • Let agents source clips from terabytes of your local video

    Work · 18d ago · clipto.com

  • Free local transcription that is 100% Private

    Work · 17d ago · hynote.ai

  • The app store for voice native apps that lives in your notch

    Work · 28d ago · voiceos.com

  • Ask any question, get a video back instantly

    Work · 24d ago · scrimba.com

  • Handle all of the work before, during, and after meetings

    Work · 17d ago · calendly.com

Launched alongside, September 2024

the whole month →
  • Wispr Flow2,737

    Speak naturally, write perfectly & 3x faster in every app

    AI · 2024 · wisprflow.ai

  • Pathway1,335

    Get user insights 10x faster

    Work · 2024 · wynde.io

  • Personalized AI daily planning that suits your life

    AI · 2024 · beforesunset.ai

  • Osmos1,194

    Match with like-minded professionals for 1:1 conversations

    Growth · 2024

  • Polar1,169

    An open source monetization platform for developers

    Dev tools · 2024 · polar.sh

  • Carrot Care1,167

    Understand & optimise your bloodwork

    Life & fun · 2024 · carrotcare.health