| java.lang.Object com.salmonllc.util.MessageLog
MessageLog | public class MessageLog implements Runnable(Code) | | This class is used to write messages to the system console or to a log file.
|
Method Summary | |
public static synchronized MessageLog | getLoggerForApplication(String appName) | public void | run() This method is part of the run thread used by this object. | public static void | stopThreads() | public String | toString() | public static void | writeAssertionMessage(String message, Object o) Use this method to log Assertion Messages. | public static void | writeAssertionMessage(String message, int level, Object o) Use this method to log Assertion Messages. | public static void | writeDebugMessage(String message, int level, Object o) Use this method to log Debug Messages. | public static void | writeDebugMessage(String message, Object o) Use this method to log Debug Messages. | public static void | writeErrorMessage(String message, int level, Throwable e, Object o) Use this method to log Error Messages. | public static void | writeErrorMessage(String message, Throwable e, Object o) Use this method to log Error Messages. | public static void | writeErrorMessage(Throwable e, Object o) Use this method to log Error Messages. | public static void | writeInfoMessage(String message, int level, Object o) Use this method to Log Info Messages. | public static void | writeInfoMessage(String message, Object o) Use this method to Log Info Messages. | public static void | writeSQLMessage(String message, String sql, Object o) Use this method to log SQL Messages. | public static void | writeSQLMessage(String message, int level, String sql, Object o) Use this method to log SQL Messages. |
run | public void run()(Code) | | This method is part of the run thread used by this object. It should not be called directy.
|
stopThreads | public static void stopThreads()(Code) | | |
writeAssertionMessage | public static void writeAssertionMessage(String message, Object o)(Code) | | Use this method to log Assertion Messages.
|
writeAssertionMessage | public static void writeAssertionMessage(String message, int level, Object o)(Code) | | Use this method to log Assertion Messages.
|
writeDebugMessage | public static void writeDebugMessage(String message, int level, Object o)(Code) | | Use this method to log Debug Messages.
|
writeDebugMessage | public static void writeDebugMessage(String message, Object o)(Code) | | Use this method to log Debug Messages.
|
writeErrorMessage | public static void writeErrorMessage(String message, int level, Throwable e, Object o)(Code) | | Use this method to log Error Messages.
|
writeErrorMessage | public static void writeErrorMessage(String message, Throwable e, Object o)(Code) | | Use this method to log Error Messages.
|
writeErrorMessage | public static void writeErrorMessage(Throwable e, Object o)(Code) | | Use this method to log Error Messages.
|
writeInfoMessage | public static void writeInfoMessage(String message, int level, Object o)(Code) | | Use this method to Log Info Messages.
|
writeInfoMessage | public static void writeInfoMessage(String message, Object o)(Code) | | Use this method to Log Info Messages.
|
writeSQLMessage | public static void writeSQLMessage(String message, String sql, Object o)(Code) | | Use this method to log SQL Messages.
|
writeSQLMessage | public static void writeSQLMessage(String message, int level, String sql, Object o)(Code) | | Use this method to log SQL Messages.
|
|
|