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 mut logger = Logger::get( "my-log-group".tostring(), "my-log-stream".tostring() ).await;
logger.info("Hello, world!".to_string()).await;
logger.error("Something went wrong!".to_string()).await;
} ```