org.glassfish.pfl.basic.logex
public @Interface StackTrace
extends Annotation
- Annotations
- @Documented
- @Target:METHOD
- @Retention:RUNTIME
- Imports
- java.lang.annotation.Documented, .ElementType, .Retention, .RetentionPolicy, .Target
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.
- Author
- Ken Cavanaugh