()
| 55 | |
| 56 | #[tokio::main] |
| 57 | async fn main() -> Result<(), Error> { |
| 58 | // required to enable CloudWatch error logging by the runtime |
| 59 | tracing::init_default_subscriber(); |
| 60 | |
| 61 | let logs_processor = SharedService::new(MyLogsProcessor::new()); |
| 62 | |
| 63 | Extension::new().with_logs_processor(logs_processor).run().await?; |
| 64 | |
| 65 | Ok(()) |
| 66 | } |
nothing calls this directly
no test coverage detected