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

how to replace loghandler to custom loghandler by myself? if can't , how to close the loghandler

Open keroro6 opened this issue 3 years ago β€’ 6 comments
trafficstars

keroro6 avatar Aug 30 '22 03:08 keroro6

The Logger module is an interface, you can implement your own log by yourself.

MarkJoyMa avatar Aug 31 '22 03:08 MarkJoyMa

image

keroro6 avatar Aug 31 '22 04:08 keroro6

Bot detected the issue body's language is not English, translate it automatically. πŸ‘―πŸ‘­πŸ»πŸ§‘β€πŸ€β€πŸ§‘πŸ‘«πŸ§‘πŸΏβ€πŸ€β€πŸ§‘πŸ»πŸ‘©πŸΎβ€πŸ€β€πŸ‘¨πŸΏπŸ‘¬πŸΏ


@MarkJoyMa sorry, i mean that log middleware

Issues-translate-bot avatar Aug 31 '22 04:08 Issues-translate-bot

Bot detected the issue body's language is not English, translate it automatically. πŸ‘―πŸ‘­πŸ»πŸ§‘β€πŸ€β€πŸ§‘πŸ‘«πŸ§‘πŸΏβ€πŸ€β€πŸ§‘πŸ»πŸ‘©πŸΎβ€πŸ€β€πŸ‘¨πŸΏπŸ‘¬πŸΏ


image

Issues-translate-bot avatar Aug 31 '22 04:08 Issues-translate-bot

@MarkJoyMa sorry, I mean the log middleware

keroro6 avatar Aug 31 '22 05:08 keroro6

You can organize middlewares on your own by using WithChain.

kevwan avatar Sep 12 '22 11:09 kevwan

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Sep 13 '23 01:09 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Mar 15 '24 01:03 github-actions[bot]