Package org.jboss.logging.annotations
Annotation Type Once
-
@Target(METHOD) @Retention(CLASS) @Documented public @interface Once
Indicates a message should only be logged once.Methods that use this annotation must be logger methods. Overloaded methods also annotated with
@Once
will inherit the same check only logging the message from the first overloaded method invoked.- Author:
- James R. Perkins