| Crates.io | async-graphql-logger |
| lib.rs | async-graphql-logger |
| version | 0.1.1 |
| created_at | 2024-01-31 17:45:11.445017+00 |
| updated_at | 2024-04-14 11:02:16.131601+00 |
| description | Minimalistic logger extension for async-graphql library |
| homepage | |
| repository | https://github.com/kurotych/async-graphql-logger |
| max_upload_size | |
| id | 1122007 |
| size | 55,383 |
Simple logging GQL requests with duration in async-graphql
Run example
RUST_LOG=debug cargo run --example axum
[2024-04-14T11:00:31Z INFO gql_logger] [QueryID: 547177987] query { healthCheck(input: 1) }
[2024-04-14T11:00:31Z DEBUG gql_logger] [QueryID: 547177987] Response: {healthCheck: true}
[2024-04-14T11:00:31Z INFO gql_logger] [QueryID: 547177987] Duration: 102ms