debugWrapInLogger method
- @Deprecated('Debug/dev mode')
- IdbFactoryLoggerType type = IdbFactoryLoggerType.all,
- int? maxLogCount,
Quick logger wrapper, useful in unit test.
idbFactory = idbFactory.debugQuickLoggerWrapper()
maxLogCount
default to 100
Implementation
@Deprecated('Debug/dev mode')
IdbFactory debugWrapInLogger(
{IdbFactoryLoggerType type = IdbFactoryLoggerType.all,
int? maxLogCount}) {
IdbFactoryLogger.debugMaxLogCount = maxLogCount ?? 100;
var factory = getIdbFactoryLogger(this, type: type);
return factory;
}