| |
|
| java.lang.Object com.finalist.jaggenerator.ConsoleLogger
ConsoleLogger | public class ConsoleLogger (Code) | | Yet another logger implementation... ;) This logger logs to the JTextArea in
the JAG gui.
author: Michael O'Connor - Finalist IT Group |
ConsoleLogger | public ConsoleLogger(JTextArea console)(Code) | | Creates a ConsoleLogger.
Parameters: console - |
ConsoleLogger | public ConsoleLogger(JTextPane console)(Code) | | Creates a ConsoleLogger with color support.
Parameters: console - |
debug | public void debug(String message)(Code) | | Appends an yellow debug log to the end of the console.
Parameters: message - the log message. |
error | public void error(String message)(Code) | | Appends an red error log to the end of the console.
Parameters: message - the log message. |
isColored | public boolean isColored()(Code) | | |
log | public void log(String message)(Code) | | Appends a log to the end of the console.
Parameters: message - the log message. |
log | public void log(String message, LogLevel level)(Code) | | Appends a log to the end of the console.
Parameters: message - the log message. Parameters: level - the level, log4j style. |
setColored | public void setColored(boolean colored)(Code) | | |
setEndSelection | protected void setEndSelection()(Code) | | |
|
|
|