Dukascopy
 
 
Wiki JStore Search Login

DDSJFX-478 More console output streams with different colors
 Post subject: DDSJFX-478 More console output streams with different colors Post rating: 0   New post Posted: Thu 30 Jun, 2011, 09:09 
User avatar

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.)


 

Jump to:  

  © 1998-2024 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com