All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class vnr.util.Log

java.lang.Object
   |
   +----vnr.util.Log

public class Log
extends Object
Log class Used to log messages to either standard out or a file

Author:
dIon 1998-01-22

Variable Index

 o baseLevel
 o displayedMessage
 o ERROR
error level message - something is wrong but may be recoverable
 o FATAL
fatal error - application will close soon
 o fileStream
 o INFO
information level message - usually used for debugging
 o INFOTEXT
 o useFile
 o useStdOut
 o WARNING
warning level message - again for debugging, but unexpected

Method Index

 o getNormalLevel()
 o logException(Throwable, int)
 o logIt(Rexx)
 o logIt(String, int)
 o setFile(String)
 o setNormalLevel(int)

Variables

 o INFO
 public static final int INFO
information level message - usually used for debugging

 o WARNING
 public static final int WARNING
warning level message - again for debugging, but unexpected

 o ERROR
 public static final int ERROR
error level message - something is wrong but may be recoverable

 o FATAL
 public static final int FATAL
fatal error - application will close soon

 o INFOTEXT
 public static final Rexx INFOTEXT[]
 o useStdOut
 protected static boolean useStdOut
 o useFile
 protected static boolean useFile
 o fileStream
 protected static BufferedWriter fileStream
 o baseLevel
 protected static int baseLevel
 o displayedMessage
 protected static boolean displayedMessage

Methods

 o logIt
 public static void logIt(String Msg,
                          int level) throws IllegalArgumentException
 o logIt
 public static void logIt(Rexx msg) throws IllegalArgumentException
 o logException
 public static void logException(Throwable e,
                                 int level) throws IllegalArgumentException
 o setFile
 public static void setFile(String f) throws IOException
 o setNormalLevel
 public static void setNormalLevel(int level) throws IllegalArgumentException
 o getNormalLevel
 public static int getNormalLevel()

All Packages  Class Hierarchy  This Package  Previous  Next  Index