News for hackers. Stuff that matters.
Re:Structured Logging with Slog by Ferret7446 on Wednesday August 23, 2023 @03:54AM (#37233033)
It's most definitely not. Logging is crucial for monitoring services, and making logging statements many times slower will either sink your service or push developers to avoid logging and making the service impossible to debug.

Most log metadata will be attached by libraries and middleware, so service/application devs won't even see most of it.

Re:Structured Logging with Slog by packetlost on Wednesday August 23, 2023 @11:42AM (#37237781)
I think you interpreted my comment the wrong way, I think the performance tradeoffs are worth the mediocre API design. My bad for making it ambiguous