logWarning method

  1. @override
void logWarning(
  1. String message,
  2. Map<String, String>? properties
)
override

Log message and optional properties using the warning log level.

Implementation

@override
void logWarning(String message, Map<String, String>? properties) {
  throwIfNotStarted();
  methodChannel.invokeMethod(_logWarningMethodName, {
    _messageArgName: message,
    _propertiesArgName: properties,
  });
}