BDLogger.private constructor
BDLogger.private(
- Set<
BDLogHandler> _handlers, - StreamController<
BDLogError> _errorController, [ - int _processingBatchSize = defaultProcessingBatchSize
Private constructor used to create the singleton instance of the class.
This constructor is marked as @visibleForTesting
to allow it
to be accessed in tests.
Implementation
@visibleForTesting
BDLogger.private(
this._handlers,
this._errorController, [
this._processingBatchSize = defaultProcessingBatchSize,
]) {
_registerLogProcessingTimer();
}