com.ibm.as400.ui.framework
Class MessageLog

java.lang.Object
  extended by com.ibm.as400.ui.framework.MessageLog

public class MessageLog
extends Object


Method Summary
Modifier and Type Method and Description
static String getLogFileName()
           
static OutputStream getLogStream()
           
static boolean isTraceEnabled()
           
static void logError(Object errorData)
           
static void logError(Object errorData, Throwable t)
           
static void main(String[] args)
           
static void printStackTrace(Throwable t)
           
static void setLogFileName(String fileName)
           
static void setLogStream(OutputStream stream)
           
static void setTraceEnabled(boolean enabled)
           
static void traceErr(Object data)
           
static void traceOut(Object data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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)