Enum NotificationLevel
- Namespace
- McServerLauncher.Models
- Assembly
- McServerLauncher.dll
How serious a notification is, which is what decides its colour.
public enum NotificationLevel
Fields
Error = 3Something is broken or gave up.
Info = 0Something happened. No judgement attached.
Success = 1Something went right.
Warning = 2Worth knowing about, nothing is broken.
Remarks
Four levels rather than one colour per kind. Seven colours would be seven decisions for the user and seven ways to end up with a palette that means nothing; four are enough to answer the only question a glance asks — is this fine, or does it need me? — and adding an eighth kind then costs a row in a table instead of a new colour nobody chose.