massim.framework.util
Class DebugLog
java.lang.Object
massim.framework.util.DebugLog
public class DebugLog
- extends java.lang.Object
Method Summary |
static void |
log(int type)
|
static void |
log(int type,
java.lang.String s)
|
static void |
logToFile(java.lang.String s)
|
static void |
setLogFile(java.io.File f)
|
static void |
setLogLevel(java.lang.String debugLevel)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOGLEVEL_CRITICAL
public static final int LOGLEVEL_CRITICAL
- See Also:
- Constant Field Values
LOGLEVEL_ERROR
public static final int LOGLEVEL_ERROR
- See Also:
- Constant Field Values
LOGLEVEL_NORMAL
public static final int LOGLEVEL_NORMAL
- See Also:
- Constant Field Values
LOGLEVEL_DEBUG
public static final int LOGLEVEL_DEBUG
- See Also:
- Constant Field Values
os_critical
public static java.io.OutputStream os_critical
os_error
public static java.io.OutputStream os_error
os_normal
public static java.io.OutputStream os_normal
os_debug
public static java.io.OutputStream os_debug
thresholdcritical
public static int thresholdcritical
thresholderror
public static int thresholderror
thresholdnormal
public static int thresholdnormal
thresholddebug
public static int thresholddebug
DebugLog
public DebugLog()
log
public static void log(int type)
log
public static void log(int type,
java.lang.String s)
setLogLevel
public static void setLogLevel(java.lang.String debugLevel)
setLogFile
public static void setLogFile(java.io.File f)
logToFile
public static void logToFile(java.lang.String s)
Copyright © 2012. All Rights Reserved.