Provide high-performance structured logging with a standard-library facing API.
For logging I'm torn between:
- Slog + ZAP:
- Pros: rich API surface. high performance. and DX.
- Cons: extra adapter layer, more abstractions.
- Slog + Diy:
- Pros: simpler. less third party library to worry about.
- Cons: More work.
Other issue is that Pion uses it's own logging library, there is a proposal to replace it with slog in the future. as of now there is no clear way to capture and consume logs, the lack of the ability to add tracing, but it's a simple task to add this to pion.
Tasks:
Provide high-performance structured logging with a standard-library facing API.
For logging I'm torn between:
Other issue is that Pion uses it's own logging library, there is a proposal to replace it with slog in the future. as of now there is no clear way to capture and consume logs, the lack of the ability to add tracing, but it's a simple task to add this to pion.
Tasks:
Pion/logging.