log method

Future<void> log(
  1. String logString
)

Sends a log to AWS

Sends the logString to AWS to be added to the CloudWatch logs

Throws a CloudWatchException if groupName or streamName are not initialized or if aws returns an error.

Implementation

Future<void> log(String logString) async {
  await _cloudWatch.log([logString]);
}