@Retention(value=RUNTIME)
@Target(value={TYPE,METHOD})
public @interface LogThis
If a method is annotated with this annotation a call to it, will be logged. An annotation on a class applies to all its methods. A directly annotated method will override an existing class-level annotation.
See also: Stealth
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
ignoreStaticFinal
Returns
true if static and final fields should be excluded from the log entry (default is true. |
boolean |
logFields
Returns
true if the values of the instances fields should be included in the log entry (default is true). |
LogLevel |
value
Returns the log level to be used (default is
LogLevel.DEBUG). |
public abstract LogLevel value
LogLevel.DEBUG).Copyright © 2015. All Rights Reserved.