diff --git a/packages/logging_cloudwatch/aws_logging_cloudwatch/lib/src/cloudwatch_logger_plugin.dart b/packages/logging_cloudwatch/aws_logging_cloudwatch/lib/src/cloudwatch_logger_plugin.dart index ab02048860..0dd33db120 100644 --- a/packages/logging_cloudwatch/aws_logging_cloudwatch/lib/src/cloudwatch_logger_plugin.dart +++ b/packages/logging_cloudwatch/aws_logging_cloudwatch/lib/src/cloudwatch_logger_plugin.dart @@ -82,7 +82,7 @@ class CloudWatchLoggerPlugin extends AWSLoggerPlugin ? StoppableTimer( duration: pluginConfig.flushInterval, callback: identifyCall( - LoggingCategoryMethod.flush, + LoggingCategoryMethod.batchSend, () => _startSyncingIfNotInProgress, ), onError: _onTimerError,