@AutoService(value=javax.annotation.processing.Processor.class) @SupportedSourceVersion(value=RELEASE_8) @SupportedAnnotationTypes(value="*") public class LogInvocationProcessor extends AbstractProcessor
VarContextProvider annotated classes, LoggerContext annotated StructLogger fields
and takes care of replacing all valid structured log statements with generated structured log events invocations of slf4j logging APIprocessingEnv| Constructor and Description |
|---|
LogInvocationProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(ProcessingEnvironment processingEnv) |
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, isInitializedpublic void init(ProcessingEnvironment processingEnv)
init in interface Processorinit in class AbstractProcessorpublic boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process in interface Processorprocess in class AbstractProcessorCopyright © 2018. All rights reserved.