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