@Retention(value=RUNTIME) @Target(value=METHOD) @Documented @InjectionScope public @interface Trace
The level of the Trace indicates the threshold level that the Tracer
instance must be set
to, to enable tracing. If the threshold level of the Tracer
instance is equal to or higher than
the level of the Trace
annotation the method will be traced.
The Trace
annotation will only be used for TraceConcern
and not if the
all encompassing TraceAllConcern
is used.
Modifier and Type | Optional Element and Description |
---|---|
int |
level
The value is the threshold level required to enable the tracing.
|
public abstract int level
If the Trace level is set to 100 (default), it is required that the Tracer (retrieved from the LogService) used is set to 100 or higher.