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
-
baseLevel
-
-
displayedMessage
-
-
ERROR
- error level message - something is wrong but may be recoverable
-
FATAL
- fatal error - application will close soon
-
fileStream
-
-
INFO
- information level message - usually used for debugging
-
INFOTEXT
-
-
useFile
-
-
useStdOut
-
-
WARNING
- warning level message - again for debugging, but unexpected
-
getNormalLevel()
-
-
logException(Throwable, int)
-
-
logIt(Rexx)
-
-
logIt(String, int)
-
-
setFile(String)
-
-
setNormalLevel(int)
-
INFO
public static final int INFO
- information level message - usually used for debugging
WARNING
public static final int WARNING
- warning level message - again for debugging, but unexpected
ERROR
public static final int ERROR
- error level message - something is wrong but may be recoverable
FATAL
public static final int FATAL
- fatal error - application will close soon
INFOTEXT
public static final Rexx INFOTEXT[]
useStdOut
protected static boolean useStdOut
useFile
protected static boolean useFile
fileStream
protected static BufferedWriter fileStream
baseLevel
protected static int baseLevel
displayedMessage
protected static boolean displayedMessage
logIt
public static void logIt(String Msg,
int level) throws IllegalArgumentException
logIt
public static void logIt(Rexx msg) throws IllegalArgumentException
logException
public static void logException(Throwable e,
int level) throws IllegalArgumentException
setFile
public static void setFile(String f) throws IOException
setNormalLevel
public static void setNormalLevel(int level) throws IllegalArgumentException
getNormalLevel
public static int getNormalLevel()
All Packages Class Hierarchy This Package Previous Next Index