|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Target(value=METHOD) @Retention(value=RUNTIME) public @interface LogReturn
Indicates a log message to emit after a method call successfully returns. The
value() field will be used as an slf4j logging format string,
allowing the return value to be substituted in.
By default, messages from this annotation will be logged at the
Severity.INFO severity. The severity can be set to any
Severity.
MessageFormatter| Required Element Summary | |
|---|---|
String |
value
The log message template. |
| Optional Element Summary | |
|---|---|
Severity |
severity
The logging severity for the message. |
| Element Detail |
|---|
public abstract String value
public abstract Severity severity
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||