Add a sampling logger to enable high-volume error points that provide sufficient fidelity of the underlying condition but doesn't drown the system in IO or useless repeated data. Zerolog supports this but a global singleton sampling logger needs to be present someplace.
Add a sampling logger to enable high-volume error points that provide sufficient fidelity of the underlying condition but doesn't drown the system in IO or useless repeated data. Zerolog supports this but a global singleton sampling logger needs to be present someplace.
https://github.com/rs/zerolog#log-sampling