Package io.objectbox.config
Class DebugFlags
- java.lang.Object
-
- io.objectbox.config.DebugFlags
-
public final class DebugFlags extends java.lang.Object
Debug flags typically enable additional "debug logging" that can be helpful to better understand what is going on internally. These are intended for the development process only; typically one does not enable them for releases.
-
-
Field Summary
Fields Modifier and Type Field Description static int
LOG_ASYNC_QUEUE
static int
LOG_CACHE_ALL
static int
LOG_CACHE_HITS
static int
LOG_EXCEPTION_STACK_TRACE
For a limited number of error conditions, this will try to print stack traces.static int
LOG_QUERIES
static int
LOG_QUERY_PARAMETERS
static int
LOG_TRANSACTIONS_READ
static int
LOG_TRANSACTIONS_WRITE
static int
LOG_TREE
static int
RUN_THREADING_SELF_TEST
Run a quick self-test to verify basic threading; somewhat paranoia to check the platform and the library setup.
-
-
-
Field Detail
-
LOG_TRANSACTIONS_READ
public static final int LOG_TRANSACTIONS_READ
- See Also:
- Constant Field Values
-
LOG_TRANSACTIONS_WRITE
public static final int LOG_TRANSACTIONS_WRITE
- See Also:
- Constant Field Values
-
LOG_QUERIES
public static final int LOG_QUERIES
- See Also:
- Constant Field Values
-
LOG_QUERY_PARAMETERS
public static final int LOG_QUERY_PARAMETERS
- See Also:
- Constant Field Values
-
LOG_ASYNC_QUEUE
public static final int LOG_ASYNC_QUEUE
- See Also:
- Constant Field Values
-
LOG_CACHE_HITS
public static final int LOG_CACHE_HITS
- See Also:
- Constant Field Values
-
LOG_CACHE_ALL
public static final int LOG_CACHE_ALL
- See Also:
- Constant Field Values
-
LOG_TREE
public static final int LOG_TREE
- See Also:
- Constant Field Values
-
LOG_EXCEPTION_STACK_TRACE
public static final int LOG_EXCEPTION_STACK_TRACE
For a limited number of error conditions, this will try to print stack traces. Note: this is Linux-only, experimental, and has several limitations: The usefulness of these stack traces depends on several factors and might not be helpful at all.- See Also:
- Constant Field Values
-
RUN_THREADING_SELF_TEST
public static final int RUN_THREADING_SELF_TEST
Run a quick self-test to verify basic threading; somewhat paranoia to check the platform and the library setup.- See Also:
- Constant Field Values
-
-