Skip to content

kurotych/async-graphql-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Minimalistic logger extension for async-graphql library

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages