rs / zerolog

Zero Allocation JSON Logger
MIT License
10.33k stars 564 forks source link

Make code in comment valid and runable #654

Closed kpechenenko closed 6 months ago

kpechenenko commented 6 months ago

I encountered an error when trying to run the code from docstring. I fixed it and sent the solution.