Package org.glassfish.pfl.basic.logex
Annotation Type Log
This annotation is applied to a method to define the log and exception
details for the method.
-
Optional Element Summary
Optional Elements
-
Element Details
-
level
LogLevel levelThe logging Level (encoded as an enum) to use for the log record generated from the annotated method.- Returns:
- The log level.
- Default:
WARNING
-
id
int idThe exception ID to be used. This is used to construct the message ID in the log message.- Returns:
- The exception id (which must include the VMCID).
- Default:
0
-