|
Attention! Read the forum rules carefully before posting a topic.
Try to find an answer in Wiki before asking a question. Submit programming questions in this forum only. Off topics are strictly forbidden.
Any topics which do not satisfy these rules will be deleted.
| logging colorful console output |
|
Isak
|
| Post subject: logging colorful console output |
Post rating: 0
|
Posted: Wed 29 Jun, 2011, 22:06
|
|
User rating: 6
Joined: Thu 19 May, 2011, 11:14 Posts: 235 Location: South Africa,
|
|
context.getConsole.getOut().println logs "white" (normal) output messages to the strategy's console. Is there a way to log "colorful" messages to the strategy's console? (like the red and yellow messages sometimes logged by the platform in the Messages window)
|
|
|
|
|
 |
|
API Support
|
| Post subject: Re: logging colorful console output |
Post rating: 0
|
Posted: Thu 30 Jun, 2011, 08:09
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
|
context.getConsole.getErr().println will give you red messages. Yellow console message style currently is not published in the API.
|
|
|
|
|
 |
|
RoadRunner
|
| Post subject: Re: logging colorful console output |
Post rating: 0
|
Posted: Thu 30 Jun, 2011, 08:14
|
|
User rating: 3
Joined: Wed 18 May, 2011, 16:25 Posts: 331 Location: SwitzerlandSwitzerland
|
|
|
|
|
 |
|
Isak
|
| Post subject: Re: logging colorful console output |
Post rating: 0
|
Posted: Thu 30 Jun, 2011, 08:39
|
|
User rating: 6
Joined: Thu 19 May, 2011, 11:14 Posts: 235 Location: South Africa,
|
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|