Package io.objectbox.config
Class DebugFlags
java.lang.Object
io.objectbox.config.DebugFlags
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
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
For a limited number of error conditions, this will try to print stack traces.static final int
static final int
static final int
static final int
static final int
static final int
Enables debug logs for write-ahead loggingstatic final int
Run a quick self-test to verify basic threading; somewhat paranoia to check the platform and the library setup. -
Method Summary
-
Field Details
-
LOG_TRANSACTIONS_READ
public static final int LOG_TRANSACTIONS_READ- See Also:
-
LOG_TRANSACTIONS_WRITE
public static final int LOG_TRANSACTIONS_WRITE- See Also:
-
LOG_QUERIES
public static final int LOG_QUERIES- See Also:
-
LOG_QUERY_PARAMETERS
public static final int LOG_QUERY_PARAMETERS- See Also:
-
LOG_ASYNC_QUEUE
public static final int LOG_ASYNC_QUEUE- See Also:
-
LOG_CACHE_HITS
public static final int LOG_CACHE_HITS- See Also:
-
LOG_CACHE_ALL
public static final int LOG_CACHE_ALL- See Also:
-
LOG_TREE
public static final int LOG_TREE- See Also:
-
LOG_EXCEPTION_STACK_TRACE
public static final int LOG_EXCEPTION_STACK_TRACEFor 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:
-
RUN_THREADING_SELF_TEST
public static final int RUN_THREADING_SELF_TESTRun a quick self-test to verify basic threading; somewhat paranoia to check the platform and the library setup.- See Also:
-
LOG_WAL
public static final int LOG_WALEnables debug logs for write-ahead logging- See Also:
-