public class DebugLog extends Object
Modifier and Type | Field and Description |
---|---|
static int |
LOGLEVEL_CRITICAL |
static int |
LOGLEVEL_DEBUG |
static int |
LOGLEVEL_ERROR |
static int |
LOGLEVEL_NORMAL |
static OutputStream |
os_critical |
static OutputStream |
os_debug |
static OutputStream |
os_error |
static OutputStream |
os_normal |
static int |
thresholdcritical |
static int |
thresholddebug |
static int |
thresholderror |
static int |
thresholdnormal |
Constructor and Description |
---|
DebugLog() |
Modifier and Type | Method and Description |
---|---|
static void |
log(int type) |
static void |
log(int type,
String s) |
static void |
logToFile(String s) |
static void |
setLogFile(File f) |
static void |
setLogLevel(String debugLevel) |
public static final int LOGLEVEL_CRITICAL
public static final int LOGLEVEL_ERROR
public static final int LOGLEVEL_NORMAL
public static final int LOGLEVEL_DEBUG
public static OutputStream os_critical
public static OutputStream os_error
public static OutputStream os_normal
public static OutputStream os_debug
public static int thresholdcritical
public static int thresholderror
public static int thresholdnormal
public static int thresholddebug
Copyright © 2013. All Rights Reserved.