com.intel.bluetooth
Class DebugLog
java.lang.Object
com.intel.bluetooth.DebugLog
public abstract class DebugLog
- extends Object
BlueCove log system.
If enabled "-Dbluecove.debug=true" System.out.println would be used for debug. Alternatively if log4j is available in
classpath Bluecove log would be redirected to log4j and can be enable using log4j configuration.
The methods of this class would be removed automaticaly because they are empty if debugCompiledOut = true. This class
itself will disappear from bytecode after obfuscation by proguard in this case. Change to create mini jar.
- Rating

Method Summary |
static void |
addAppender(DebugLog.LoggerAppender newAppender)
|
static void |
debug(String message)
|
static void |
debug(String message,
boolean v)
|
static void |
debug(String message,
byte[] data)
|
static void |
debug(String message,
byte[] data,
int off,
int len)
|
static void |
debug(String message,
int[] data)
|
static void |
debug(String message,
int[] data,
int off,
int len)
|
static void |
debug(String message,
long v)
|
static void |
debug(String message,
Object obj)
|
static void |
debug(String message,
String v)
|
static void |
debug(String message,
String v,
String v2)
|
static void |
debug(String message,
Throwable t)
|
static void |
debug0x(String message,
long v)
|
static void |
debug0x(String message,
String s,
long v)
|
static void |
debugNative(String location,
String message)
|
static void |
error(String message)
|
static void |
error(String message,
long v)
|
static void |
error(String message,
String v)
|
static void |
error(String message,
Throwable t)
|
static void |
fatal(String message)
|
static void |
fatal(String message,
Throwable t)
|
static boolean |
isDebugEnabled()
|
static void |
nativeDebugCallback(String fileName,
int lineN,
String message)
|
static void |
removeAppender(DebugLog.LoggerAppender newAppender)
|
static void |
setDebugEnabled(boolean debugEnabled)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEBUG
public static final int DEBUG
- See Also:
- Constant Field Values
ERROR
public static final int ERROR
- See Also:
- Constant Field Values
isDebugEnabled
public static boolean isDebugEnabled()
setDebugEnabled
public static void setDebugEnabled(boolean debugEnabled)
debug
public static void debug(String message)
debug
public static void debug(String message,
String v)
debug
public static void debug(String message,
Throwable t)
debug
public static void debug(String message,
Object obj)
debug
public static void debug(String message,
String v,
String v2)
debug
public static void debug(String message,
long v)
debug0x
public static void debug0x(String message,
long v)
debug0x
public static void debug0x(String message,
String s,
long v)
debug
public static void debug(String message,
boolean v)
debug
public static void debug(String message,
byte[] data)
debug
public static void debug(String message,
byte[] data,
int off,
int len)
debug
public static void debug(String message,
int[] data)
debug
public static void debug(String message,
int[] data,
int off,
int len)
nativeDebugCallback
public static void nativeDebugCallback(String fileName,
int lineN,
String message)
debugNative
public static void debugNative(String location,
String message)
error
public static void error(String message)
error
public static void error(String message,
long v)
error
public static void error(String message,
String v)
error
public static void error(String message,
Throwable t)
fatal
public static void fatal(String message)
fatal
public static void fatal(String message,
Throwable t)
addAppender
public static void addAppender(DebugLog.LoggerAppender newAppender)
removeAppender
public static void removeAppender(DebugLog.LoggerAppender newAppender)