logIfEnabled method
Log event if logging is enabled.
Implementation
@protected
@nonVirtual
void logIfEnabled(
RxStorageLoggerEvent<Key, Options> Function() eventProducer) {
assert(_debugAssertNotDisposed());
if (_isLogEnabled) {
_publishLog(eventProducer());
}
}