From 21da7d5881d1367e7da4f74aa3604f2e2e5d8ca1 Mon Sep 17 00:00:00 2001 From: martha-johnston Date: Wed, 22 Jan 2025 23:45:11 +0100 Subject: [PATCH] fix warning log --- lib/src/robot/client.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/robot/client.dart b/lib/src/robot/client.dart index 7fd56fd68f..cc0a87deb5 100644 --- a/lib/src/robot/client.dart +++ b/lib/src/robot/client.dart @@ -351,7 +351,7 @@ class RobotClient { ..model = sdkQuery.model ..extra = sdkQuery.extraStruct)); - log("RobotClient.discoverComponents is deprecated. It will be removed on March 10 2025. Use the DiscoveryService APIs instead."); + _logger.w("RobotClient.discoverComponents is deprecated. It will be removed on March 10 2025. Use the DiscoveryService APIs instead."); final response = await _client.discoverComponents(request); return response.discovery.map((d) => Discovery.fromProto(d)).toList(); }