com.ibm.as400.ui.framework
Class MessageLog
java.lang.Object
com.ibm.as400.ui.framework.MessageLog
public class MessageLog
extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
main
public static void main(String[] args)
throws IOException
- Throws:
IOException
setLogFileName
public static void setLogFileName(String fileName)
throws IOException
- Throws:
IOException
getLogFileName
public static String getLogFileName()
setLogStream
public static void setLogStream(OutputStream stream)
getLogStream
public static OutputStream getLogStream()
logError
public static void logError(Object errorData)
logError
public static void logError(Object errorData,
Throwable t)
printStackTrace
public static void printStackTrace(Throwable t)
setTraceEnabled
public static void setTraceEnabled(boolean enabled)
isTraceEnabled
public static boolean isTraceEnabled()
traceOut
public static void traceOut(Object data)
traceErr
public static void traceErr(Object data)