Comment

Comment by ImJasonH

It might be noticeable at extreme levels, which I've never come anywhere to noticing.

I tend to only use `log := clog.FromContext(ctx)` once at the top of a method, and not `clog.InfoContext(ctx, "...")`, but that's mostly for style reasons and not performance.

parent ImJasonH 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton