Update logger.dart