2 个版本
0.1.1 | 2024年4月14日 |
---|---|
0.1.0 | 2024年1月31日 |
在 HTTP 服务器 中排名 #379
每月下载 49 次
16KB
125 代码行
使用 async-graphql 简单地记录 GQL 请求及其持续时间
运行示例
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
依赖项
~17–29MB
~509K SLoC