org.glassfish.pfl.basic.logex
Annotation Type StackTrace


@Documented
@Target(value=METHOD)
@Retention(value=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.

Author:
Ken Cavanaugh



Copyright © 2013 Oracle. All Rights Reserved.