Annotation Type StackTrace


@Documented @Target(METHOD) @Retention(RUNTIME) public @interface StackTrace
Indicates that stack traces should 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 @NoStackTrace on a method. By default, a stack trace is added only to log records for level WARNING or higher.