graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hasura.GraphQL.Logging.QueryLog

Description

This module holds functions and data types used for logging at the GraphQL layer. In contrast with, logging at the HTTP server layer.

Synopsis

Documentation

data QueryLog Source #

A GraphQL query, optionally generated SQL, and the request id makes up the | QueryLog

class Monad m => MonadQueryLog m where Source #

Methods

logQueryLog :: Logger Hasura -> QueryLog -> m () Source #

Instances

Instances details
MonadQueryLog AppM Source # 
Instance details

Defined in Hasura.App

MonadQueryLog m => MonadQueryLog (Handler m) Source # 
Instance details

Defined in Hasura.Server.App

MonadQueryLog m => MonadQueryLog (TraceT m) Source # 
Instance details

Defined in Hasura.GraphQL.Logging.QueryLog

MonadQueryLog m => MonadQueryLog (ExceptT e m) Source # 
Instance details

Defined in Hasura.GraphQL.Logging.QueryLog

MonadQueryLog m => MonadQueryLog (ReaderT r m) Source # 
Instance details

Defined in Hasura.GraphQL.Logging.QueryLog