logger function

void logger(
  1. String message, {
  2. Level level = Level.debug,
  3. dynamic additionalData,
})

Implementation

void logger(String message, {Level level=Level.debug, additionalData}) {
  if (_doLog != null) {
    _doLog!(message, level, additionalData: additionalData);
  }
}