Package com.appoptics.api.ext
Annotation Type LogMethod
-
public @interface LogMethodLogs execution of a method call using annotation. To add custom spans with annotation:-
Import the
com.appoptics.api.ext.LogMethodannotation -
Annotate your method by adding
@LogMethod(layer="yourLayerName")above it.
- See Also:
- Java Agent - Instrumentation SDK
-
Import the
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanbackTraceFlags whether method stack trace should be included in the eventjava.lang.StringlayerSets the layer name for the custom span, this is optionalbooleanreportExceptionsFlags whether exceptions thrown by this method would be reportedbooleanstoreReturnFlags whether method result will be converted to string and stored in the event
-