Is there a way to make the recovery middleware log JSON? All of my application logs are formatted in JSON, but when gin recovers from a panic it simply logs multiple lines, which make it cumbersome to parse.

Thanks!

Example (You can see my json logs in between gins logs in red):

Gin Make Recovery log JSON