aaronpriven / actium

Programs used for schedules and other information at AC Transit
Other
1 stars 1 forks source link

Crier: severity changes #24

Closed aaronpriven closed 4 years ago

aaronpriven commented 8 years ago
  1. Crier should take its color from the severity level (0-15), not the words ("PANIC"), etc. That would make more sense since the color is supposed to reflect that.
  2. Crier should allow users to change the severity level associated with any particular code.
  3. Some of the default severities are oddly ordered. If "NO" represents a failure, shouldn't it be higher than "YES" or "OK"? Or maybe "NO" and "YES" are just notes, in which case they should be registered at the lower severity level.

    In any event there should be a clearer range of severities, with emergencies and other failures at the top, followed by warnings, followed by general success messages (which should be the default), followed by just "you might want to know this but you don't really need to" information.

aaronpriven commented 4 years ago

This was completed in the changes to Actium::Env::CLI::Crier.