debugQuickLoggerWrapper method

  1. @Deprecated('Debug/dev mode')
DatabaseFactory debugQuickLoggerWrapper()

Quick logger wrapper, useful in unit test.

databaseFactory = databaseFactory.debugQuickLoggerWrapper()

Implementation

@Deprecated('Debug/dev mode')
DatabaseFactory debugQuickLoggerWrapper() {
  var factoryWithLogs = SqfliteDatabaseFactoryLogger(this,
      options:
          SqfliteLoggerOptions(type: SqfliteDatabaseFactoryLoggerType.all));
  return factoryWithLogs;
}