Method Summary |
|
public static ScreenLogger | getInstance() Returns the current instance of the logger. |
public int | getLoggingLevel() Returns the current logging level. |
public void | incrementLoggingLevel() Increment the current logging level to be more verbose. |
public void | log(String msg) Prints the given string to the logger using the NORMAL
logging level and terminates the current line. |
public void | log(int level, String msg) Prints a logging message and terminates the line if the specified logging
level is lower or equal than the current logging level. |
public void | log(int level, String msg, boolean lineFeed) Prints a logging message and terminates the line if the specified logging
level is lower or equal than the current logging level. |
public void | print(String msg) Prints the given string to the logger using the NORMAL
logging level. |
public void | printStackTrace(Exception ex) Logs the stack trace of the given exception. |
public void | println() Prints an empty line to the logger using the NORMAL logging
level. |
public void | println(String msg) Prints the given string to the logger using the NORMAL
logging level and terminates the current line. |
public void | setLoggingLevel(int level) Sets the logging level. |