zeromicro / go-zero

A cloud-native Go microservices framework with cli tool for productivity.
https://go-zero.dev
MIT License
29.28k stars 3.96k forks source link

Add log level of warn #4368

Open weizhengde opened 2 months ago

weizhengde commented 2 months ago

In many other logging frameworks, log levels always include debug, info, warn, error. However, in go-zero framework, log levels only include debug, info, error, severe. In many business scenarios, warn level logs are more semantic.

Sebastian-Getts commented 1 month ago

Maybe Alert Level can be used