Annotation Type NoStackTrace


  • @Documented
    @Target({TYPE,METHOD})
    @Retention(RUNTIME)
    public @interface NoStackTrace
    Indicates that stack traces should not be added to log records for logging methods in the interface (if on an interface), or for a particular method. As a class annotation, this establishes the default which may be overridden by @StackTrace on a method. By default, a stack trace is added only to log records for level WARNING or higher.