Sets the native logging level for the database module. By default,
only warnings and errors are logged natively. Setting this to true will log all
database events.
Ensure logging is disabled for production apps, as excessive logging can cause performance issues.
Example
constdb = getDatabase();
// Set debug logging if developing if (__DEV__) { setLoggingEnabled(db, true); }
Sets the native logging level for the database module. By default, only warnings and errors are logged natively. Setting this to true will log all database events.
Example