How many log levels are there?

I’m building a tool to allow you to change the log levels of your application at runtime. In order to do that, I need to show you a dropdown of the various log levels. Something like:

I started with Ruby so I put in DEBUG INFOWARN ERROR FATAL.

Of course, then I wanted to do it for Java, so I had to add TRACE.

Then Python wanted CRITICAL so… spreadsheet time.

Here’s the sheet I ended up with. It was a fun tour.

I wrote up some details and ideas / humor about why I think each language chose what it chose here, but just take a look at the grid, I was surprised by how many there are.

原文链接:How many log levels are there?

© 版权声明
THE END
喜欢就支持一下吧
点赞8 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容