Comment

Comment by VBprogrammer

Most mature languages have a logging system which allows the internal logging of a library or module to be silenced, redirected or almost any other action. I think there is a lot of value in libraries doing appropriate logging which can't easily be replicated in application code.

An example which comes to mind because I happened to be looking at it is the python Requests library where they log inform about when new connections are created / destroyed which is very useful when debugging keep-alive.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton