Package io.smallrye.graphql
Interface SmallRyeGraphQLServerLogging
- All Known Implementing Classes:
SmallRyeGraphQLServerLogging_$logger
@MessageLogger(projectCode="SRGQL")
public interface SmallRyeGraphQLServerLogging
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidaddedToCache(String query) voiddataFetchingError(Throwable cause) voiddontKnowHoToHandleArgument(String className, String methodName) voidduplicateOperation(String operationName) voidvoidvoidnoArgConstructorMissing(String typeName) voidvoidvoidpayloadOut(String payload) voidretrievedFromCache(String query) voidstringInputForVariables(String stringVars) voidvoidvoidvoidusingLookupService(String name) voidusingMetricsService(String name) voidusingTracingService(String name)
-
Field Details
-
log
-
-
Method Details
-
emptyOrNullSchema
@LogMessage(level=WARN) @Message(id=10000, value="Schema is null, or it has no operations. Not bootstrapping SmallRye GraphQL") void emptyOrNullSchema() -
noGraphQLMethodsFound
@LogMessage(level=WARN) @Message(id=10001, value="No GraphQL methods found. Try annotating your methods with @Query or @Mutation") void noGraphQLMethodsFound() -
duplicateOperation
@LogMessage(level=WARN) @Message(id=10002, value="Operation [%s] also exist as a batch operation - ignoring the non-batch operation") void duplicateOperation(String operationName) -
stringInputForVariables
@LogMessage(level=WARN) @Message(id=11000, value="We got a String as input for Variables, not sure what to do with that [%s]") void stringInputForVariables(String stringVars) -
retrievedFromCache
@LogMessage(level=DEBUG) @Message(id=11001, value="Retrieved from cache: %s") void retrievedFromCache(String query) -
addedToCache
@LogMessage(level=DEBUG) @Message(id=11002, value="Added to cache: %s") void addedToCache(String query) -
noArgConstructorMissing
@LogMessage(level=DEBUG) @Message(id=11003, value="Cannot use the no-arg constructor to build instances of type %s") void noArgConstructorMissing(String typeName) -
dontKnowHoToHandleArgument
-
payloadIn
-
payloadOut
@LogMessage(level=INFO) @Message(id=11006, value="Payload Out [%s]") void payloadOut(String payload) -
dataFetchingError
@LogMessage(level=ERROR) @Message(id=12000, value="Data Fetching Error") void dataFetchingError(@Cause Throwable cause) -
usingMetricsService
@LogMessage(level=DEBUG) @Message(id=13001, value="Using %s lookup service for metrics") void usingMetricsService(String name) -
usingTracingService
@LogMessage(level=DEBUG) @Message(id=13002, value="Using %s lookup service for tracing") void usingTracingService(String name) -
usingLookupService
@LogMessage(level=DEBUG) @Message(id=13003, value="Using %s service for object lookups") void usingLookupService(String name) -
usingClassLoadingService
@LogMessage(level=DEBUG) @Message(id=13004, value="Using %s service for class loading") void usingClassLoadingService(String name) -
transformError
@LogMessage(level=ERROR) @Message(id=14000, value="Unable to transform data") void transformError(@Cause Throwable t) -
usingContextPropagationService
@LogMessage(level=DEBUG) @Message(id=15000, value="Using %s service for context propagation") void usingContextPropagationService(String name) -
enableFederation
@LogMessage(level=DEBUG) @Message(id=16000, value="Enable GraphQL Federation") void enableFederation()
-