public interface IConsole
| Modifier and Type | Method and Description |
|---|---|
PrintStream |
getErr()
Returns
PrintStream that prints messages with error priority. |
PrintStream |
getInfo()
Returns
PrintStream that prints messages with info priority. |
PrintStream |
getNotif()
Returns
PrintStream that prints messages with notification priority. |
PrintStream |
getOut()
Returns
PrintStream that prints messages with normal priority |
PrintStream |
getWarn()
Returns
PrintStream that prints messages with warning priority. |
void |
setMaxMessages(int maxNumber)
Sets the maximum number of messages.
|
PrintStream getOut()
PrintStream that prints messages with normal priorityPrintStream to print messagesPrintStream getErr()
PrintStream that prints messages with error priority. Messages are shown in red colorPrintStream to print messagesPrintStream getWarn()
PrintStream that prints messages with warning priority. Messages by default are shown in yellow colorPrintStream to print messagesPrintStream getInfo()
PrintStream that prints messages with info priority. Messages by default are shown in green colorPrintStream to print messagesPrintStream getNotif()
PrintStream that prints messages with notification priority. Messages by default are shown in blue colorPrintStream to print messagesvoid setMaxMessages(int maxNumber)
maxNumber - maximum number of messages in Messages table. Passing -1 makes it unrestricted.Copyright © 2016. All rights reserved.