Package com.ibm.wala.sourcepos
Class Debug
- java.lang.Object
-
- com.ibm.wala.sourcepos.Debug
-
public final class Debug extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Debug.LogLevel
-
Field Summary
Fields Modifier and Type Field Description static boolean
PRINT_CHARACTER_RANGE_TABLE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
allow(Debug.LogLevel level)
static void
appendInfo(String str)
static void
debug(String str)
static void
debug(String str, Object... obj)
static void
debug(Throwable t)
static void
error(String str)
static void
error(String str, Object... obj)
static void
error(Throwable t)
static void
fullLogging()
static PrintStream
getStream(Debug.LogLevel level)
static void
ignore(Debug.LogLevel level)
static void
info(String str)
static void
info(String str, Object... obj)
static void
info(Throwable t)
static void
logTime()
static void
noLogging()
static void
setLogFile(String file)
static void
setMinLogLevel(Debug.LogLevel level)
Set to log all events with the given or higher prioritystatic void
warn(String str)
static void
warn(String str, Object... obj)
static void
warn(Throwable t)
-
-
-
Field Detail
-
PRINT_CHARACTER_RANGE_TABLE
public static final boolean PRINT_CHARACTER_RANGE_TABLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
setLogFile
public static void setLogFile(String file) throws FileNotFoundException
- Throws:
FileNotFoundException
-
setMinLogLevel
public static void setMinLogLevel(Debug.LogLevel level)
Set to log all events with the given or higher priority- Parameters:
level
-
-
noLogging
public static void noLogging()
-
fullLogging
public static void fullLogging()
-
error
public static void error(String str)
-
warn
public static void warn(String str)
-
logTime
public static void logTime()
-
info
public static void info(String str)
-
appendInfo
public static void appendInfo(String str)
-
debug
public static void debug(String str)
-
error
public static void error(Throwable t)
-
warn
public static void warn(Throwable t)
-
info
public static void info(Throwable t)
-
debug
public static void debug(Throwable t)
-
allow
public static void allow(Debug.LogLevel level)
-
ignore
public static void ignore(Debug.LogLevel level)
-
getStream
public static PrintStream getStream(Debug.LogLevel level)
-
-