Logger constructor

Logger()

Factory for internal logger class

Implementation

factory Logger() {
  _instance ??= Logger.private();

  return _instance!;
}