@MessageLogger(projectCode="SRGQL")
public interface SmallRyeGraphQLServerLogging
| Modifier and Type | Field and Description |
|---|---|
static SmallRyeGraphQLServerLogging |
log |
| Modifier and Type | Method and Description |
|---|---|
void |
addedToCache(String query) |
void |
dataFetchingError(Throwable cause) |
void |
dontKnowHoToHandleArgument(String className,
String methodName) |
void |
duplicateOperation(String operationName) |
void |
emptyOrNullSchema() |
void |
noArgConstructorMissing(String typeName) |
void |
noGraphQLMethodsFound() |
void |
payloadIn(String payload) |
void |
payloadOut(String payload) |
void |
retrievedFromCache(String query) |
void |
stringInputForVariables(String stringVars) |
void |
transformError(Throwable t) |
void |
usingClassLoadingService(String name) |
void |
usingContextPropagationService(String name) |
void |
usingLookupService(String name) |
void |
usingMetricsService(String name) |
void |
usingTracingService(String name) |
static final SmallRyeGraphQLServerLogging log
@LogMessage(level=WARN)
@Message(id=10000,
value="Schema is null, or it has no operations. Not bootstrapping SmallRye GraphQL")
void emptyOrNullSchema()
@LogMessage(level=WARN)
@Message(id=10001,
value="No GraphQL methods found. Try annotating your methods with @Query or @Mutation")
void noGraphQLMethodsFound()
@LogMessage(level=WARN)
@Message(id=10002,
value="Operation [%s] also exist as a batch operation - ignoring the non-batch operation")
void duplicateOperation(String operationName)
@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)
@LogMessage(level=DEBUG)
@Message(id=11001,
value="Retrieved from cache: %s")
void retrievedFromCache(String query)
@LogMessage(level=DEBUG)
@Message(id=11002,
value="Added to cache: %s")
void addedToCache(String query)
@LogMessage(level=DEBUG)
@Message(id=11003,
value="Cannot use the no-arg constructor to build instances of type %s")
void noArgConstructorMissing(String typeName)
@LogMessage(level=WARN)
@Message(id=11004,
value="Returning argument as is, because we did not know how to handle it [%s] on method [%s]")
void dontKnowHoToHandleArgument(String className,
String methodName)
@LogMessage(level=INFO)
@Message(id=11005,
value="Payload In [%s]")
void payloadIn(String payload)
@LogMessage(level=INFO)
@Message(id=11006,
value="Payload Out [%s]")
void payloadOut(String payload)
@LogMessage(level=ERROR)
@Message(id=12000,
value="Data Fetching Error")
void dataFetchingError(@Cause
Throwable cause)
@LogMessage(level=DEBUG)
@Message(id=13001,
value="Using %s lookup service for metrics")
void usingMetricsService(String name)
@LogMessage(level=DEBUG)
@Message(id=13002,
value="Using %s lookup service for tracing")
void usingTracingService(String name)
@LogMessage(level=DEBUG)
@Message(id=13003,
value="Using %s service for object lookups")
void usingLookupService(String name)
@LogMessage(level=DEBUG)
@Message(id=13004,
value="Using %s service for class loading")
void usingClassLoadingService(String name)
@LogMessage(level=ERROR)
@Message(id=14000,
value="Unable to transform data")
void transformError(@Cause
Throwable t)
@LogMessage(level=DEBUG)
@Message(id=15000,
value="Using %s service for context propagation")
void usingContextPropagationService(String name)
Copyright © 2018–2021. All rights reserved.