Bowyerhub
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
洪 民憙 (Hong Minhee)@lemmy.ml to Web Development@programming.devEnglish · 22 days ago

If you're building a JavaScript library and need logging, you'll probably love LogTape

hackers.pub

external-link
message-square
0
fedilink
2
external-link

If you're building a JavaScript library and need logging, you'll probably love LogTape

hackers.pub

洪 民憙 (Hong Minhee)@lemmy.ml to Web Development@programming.devEnglish · 22 days ago
message-square
0
fedilink
LogTape offers a novel approach to logging in JavaScript libraries, designed to provide diagnostic capabilities without imposing choices on users. Unlike traditional methods such as using debug packages or custom logging systems, LogTape operates on a "library-first design" where logging is transparent and only activated when configured. This eliminates the fragmentation problem of managing multiple logging systems across different libraries. With zero dependencies and support for both ESM and CommonJS, LogTape ensures minimal impact on users' projects, avoiding dependency conflicts and enabling tree shaking. Its universal runtime support and efficient performance make it suitable for various environments. By using a hierarchical category system, LogTape prevents namespace collisions, offering a seamless developer experience with TypeScript support and structured logging patterns. LogTape provides adapters for popular logging libraries like Winston and Pino, bridging the transition for users invested in other systems. Ultimately, LogTape offers a way to enhance library capabilities while respecting users' preferences and existing choices, making it a valuable consideration for library authors.
alert-triangle
You must log in or register to comment.

Web Development@programming.dev

webdev@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !webdev@programming.dev

Welcome to the web development community! This is a place to post, discuss, get help about, etc. anything related to web development

What is web development?

Web development is the process of creating websites or web applications

Rules/Guidelines

  • Follow the programming.dev site rules
  • Keep content related to web development
  • If what you’re posting relates to one of the related communities, crosspost it into there to help them grow
  • If youre posting an article older than two years put the year it was made in brackets after the title

Related Communities

  • !html@programming.dev
  • !css@programming.dev
  • !uiux@programming.dev
  • !a11y@programming.dev
  • !react@programming.dev
  • !vuejs@programming.dev
  • !webassembly@programming.dev
  • !javascript@programming.dev
  • !typescript@programming.dev
  • !nodejs@programming.dev
  • !astro@programming.dev
  • !angular@programming.dev
  • !tauri@programming.dev
  • !sveltejs@programming.dev
  • !pwa@programming.dev

Wormhole

  • !cool_github_projects@programming.dev
Some webdev blogs

Not sure what to post in here? Want some web development related things to read?

Heres a couple blogs that have web development related content

  • https://frontendfoc.us/ - [RSS]
  • https://wesbos.com/blog
  • https://davidwalsh.name/ - [RSS]
  • https://www.nngroup.com/articles/
  • https://sia.codes/posts/ - [RSS]
  • https://www.smashingmagazine.com/ - [RSS]
  • https://www.bennadel.com/ - [RSS]
  • https://web.dev/ - [RSS]
Credits

Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 7 users / day
  • 24 users / week
  • 147 users / month
  • 593 users / 6 months
  • 1 local subscriber
  • 4.29K subscribers
  • 109 Posts
  • 122 Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Erlingur@programming.dev
  • Ategon@programming.dev
  • BE: 0.19.9
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org