使危险级别显而易见
我正在开发一个监控系统:它发送消息,每条消息都有一个危险/严重性标志,我希望它对于临时用户来说也非常明显。以下哪项具有明显的含义,是否可以命名一系列级别名称,这些名称绝对意味着每个理智的计算机文字人类(即对于给定的(A,B,C,D,... )任何人都会立即认识到 A 的危险性低于 B,B 的危险性低于 C,C < D,等等)。
我已经看到了几个可能的危险级别等级,但我不确定它对于普通用户来说有多明显:
- OK
- INFO
- WARNING
- ERROR
- FAILURE
- CRITICAL
- FATAL
- GRAVE
对于每个用户来说,哪种严重性/危险级别顺序是最明显的世界?例如,对于每个人来说,CRITICAL 比 ERROR 更严重是不是很明显?
I'm working on a monitoring system: it sends messages, each message has a danger/severity flag and I want it to be very obvious for even a casual user. Which of the following have obvious meanings, and is it possible to name a sequence of level names that will absolutely mean gradations of danger for every sane computer-literal human (i.e. for a given (A, B, C, D, ...) any human would instantly recognize that A is less dangerous that B, B is less dangerous than C, C < D, etc).
I've seen a couple of possible danger levels gradations, but I'm not sure how obvious it is for a casual user:
- OK
- INFO
- WARNING
- ERROR
- FAILURE
- CRITICAL
- FATAL
- GRAVE
Which sequence of severity / danger levels would be most obvious for every user in the world? For example, is it obvious for everyone that CRITICAL is more severe than ERROR?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
如果这需要确保最终用户安全,我会将级别数量减少到三个。如果需要的话四个。
如果没有文档,我个人将无法确定哪个更严重:错误、失败或严重。致命的我能够区分,但只是因为我是一名程序员!
建议:
加上可能
If this needs to be end user-proof, I would reduce the number of levels to three. Four if need be.
Without documentation, I personally would be unable to tell for sure which is more grave: ERROR, FAILURE, or CRITICAL. FATAL I would be able to tell apart but only because I'm a programmer!
Suggestion:
plus maybe
如果我要简化它并使其对每个人都显而易见,我只会使用三个级别:
“好的”表示一切都好,“警告”不一定需要立即关注,“错误”必须立即查看。
您当然可以将额外的关卡保留在后台,并以更高级的模式或任何可以更好理解的方式显示它们。
If I was going to dumb it down and make if obvious to everyone I would only use three levels:
OK is all good, warning doesn't necessarily need immediate attention, error must be looked at right now.
You could of course keep the extra levels in the background and show them in a more advanced mode or wherever they will better understood.
我同意 Pekka 和 Steve Claridge 提供的 OK、WARNING、ERROR 标志。
如果您确实“希望它对于普通用户来说也非常明显”,请粗体错误消息。此外,将 OK 消息设为绿色,将 WARNING 消息设为黄色,将 ERROR 消息设为红色。这些颜色对应于美国的交通信号。
颜色应该是一个系统选项,因为其他国家对交通信号使用不同的颜色集。
粗体和颜色是对 OK、WARNING、ERROR 标志的补充,而不是这些标志的替代品。
I agree with the OK, WARNING, ERROR flags that Pekka and Steve Claridge provided.
If you really "want it to be very obvious for even a casual user", bold the ERROR messages. In addition, make the OK messages green, the WARNING messages yellow, and the ERROR messages red. These colors correspond to United States traffic signals.
The colors should be a system option, because other countries use different sets of colors for traffic signals.
The bolding and colors are in addition to the OK, WARNING, ERROR flags, not a replacement for the flags.