User rating: 6
Joined: Thu 19 May, 2011, 11:14 Posts: 235 Location: South Africa,
|
Existing: context.getConsole().getOut() prints normal messages. context.getConsole().getErr() prints red messages. (and highlight the console tab label in corresponding color, if it is not selected.)
Requested: context.getConsole().getWarn() prints yellow messages. context.getConsole().getInfo() prints green messages. context.getConsole().getNotif() (or something) prints blue messages. (and highlight the console tab label in corresponding color, if it is not selected.)
(By continuing with the naming convention that explicitly maps colors to meanings, rather than providing a flexible color argument, some consistency across strategies will be encouraged, which is useful if they are shared/transferred between vendors.)
|
|