go-zero icon indicating copy to clipboard operation
go-zero copied to clipboard

Logx support supports multiple modes, such as writing to console and file at the same time

Open haozhi-ly opened this issue 1 year ago • 2 comments
trafficstars

i want to write log to console and file at the same time,but mode just support one.

haozhi-ly avatar Jun 24 '24 02:06 haozhi-ly

Please check if it works by using tail -f or tee commands.

kevwan avatar Jun 24 '24 13:06 kevwan

https://github.com/jzero-io/jzero-contrib/tree/main/logtoconsole

you can use this.

jaronnie avatar Jun 27 '24 09:06 jaronnie