News for hackers. Stuff that matters.
Re:My favorite use-case for AI is writing logs by nvader on Thursday July 17, 2025 @08:45PM (#44599985)
I'd like to consult the HN hive mind on an tangential point.

Does anyone else here dislike loguru on appearance? I don't have a well-articulated argument for why I don't like it, but it subconsciously feels like a tool that is not sharp enough.

Was looking for evidence, either way, honestly. The author is using loguru here and I've run into it for a number of production deployments.

Anyone have experiences to share?

Re:My favorite use-case for AI is writing logs by nxpnsv on Friday July 18, 2025 @01:43AM (#44601584)
It looks great out of the box, has fancy colors (if you want them). It is easier to configure than logging and you don't need a lot go get_logger stuff. It does log rotation, and you has lazy formatted {} comments `logger.info("x={x:.2f}", x)`. It is better for threading/multiproc, handles exceptions better. And it is fast. I like it on appearance.
Re:My favorite use-case for AI is writing logs by alanbernstein on Friday July 18, 2025 @09:19PM (#44611660)
Never heard of it before this, but it looks nice. Some tools are better ergonomic than sharp?