This is a wrapper around the community made Rusoto SDK for AWS services. It provides a simple interface for logging to CloudWatch in an optimal manner, abstracting away the nuances like batching, ensuring flushes, logging panics, etc.
```rust use cloudwatch_logging::Logger;
async fn example() { let logger = Logger::get("my-log-group", "my-log-stream").await; logger.info("Hello, world!").await; logger.error("Something went wrong!").await; } ```