Pierre-Henri Symoneaux
Pierre-Henri Symoneaux
Just to give a update, I've been playing a bit with libusrsctp and made a draft rust binding to it. It was working on linux (but need sctp to be...
@iqualfragile Nope sorry
I gave it a shot and tried to implement @abhinav suggestion. While my PR is being reviewed, you can give it a try with ``` go run github.com/phsym/gomarkdoc/cmd/gomarkdoc@latest ```
If I understood it correctly, `slog` is mostly a logging frontend with a pluggable backend through the `slog.Handler` interface and it provides 2 backend implementations (logfmt and json). The main...
There will be a performance cost anyway. Benchmarking slog with a "no-op" backend vs zerolog shows that slog frontend already brings some overhead. But still it will be great to...
I gave it a try too, only using current public API. The ony way I found to have some kind of clonable `*Event` is to create and empty `Context{}` ([here](https://github.com/phsym/zeroslog/blob/2bf737d6422a5de048845cd3bdd2db6363555eb4/zerolog.go#L142)),...
Coming back to the big performance overhead brought by `slog.Logger`, I see 1 main reason for that: * `slog.Logger` always calls `runtime.Callers()` event when the handler doesn't need the source...
Hi ! That's an interresting proposal for which I would definitely consider a PR 🙂
Hi ! Thanks for your proposal it looks great. Please proceed with your PR, I'll surely merge it once ready.