BDLogger constructor

BDLogger()

Returns the singleton instance of the BDLogger class.

Implementation

factory BDLogger() {
  return _instance ??= BDLogger.private(
    <BDLogHandler>{},
    StreamController<BDLogError>.broadcast(),
  );
}