Annotation Interface Log
@Documented
@Retention(RUNTIME)
@Target(METHOD)
@Interception(implementedBy=LogInterceptor.class)
public @interface Log
Annotation to express that the annotated method should be logged.
The method's execution time is logged after it returns, if the logging level is loggable.
The method's execution time is logged after it returns, if the logging level is loggable.
- See Also:
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
Logger.Level valueThe logging level.
Defaults toLogger.Level.INFO.- Returns:
- the optional level
- Default:
INFO
-