Class DebugFlags

java.lang.Object
io.objectbox.config.DebugFlags

public final class DebugFlags extends 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 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_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:
    • 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:
    • LOG_WAL

      public static final int LOG_WAL
      Enables debug logs for write-ahead logging
      See Also: