rs / zerolog

Zero Allocation JSON Logger
MIT License
10.39k stars 566 forks source link

hook for loki #601

Closed thisismz closed 6 months ago

thisismz commented 11 months ago

Could someone please advise on the best way to configure zerolog to send logs to loki? Any example config snippets would be greatly appreciated. something like this https://github.com/YuKitsune/lokirus

dyaa commented 6 months ago

Thanks @rs. It would be great to update the README file with a snippet working with Loki, wdyt?

sebbbastien commented 4 months ago

Does anyone have any idea how to send zerolog to loki?