Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.8-beta-1
-
Fix Version/s: 1.8-beta-2
-
Component/s: groovy-jdk
-
Labels:None
-
Environment:all
-
Testcase included:yes
-
Patch Submitted:Yes
-
Number of attachments :
Description
The @Log annotation will automatically add a Logger named log to an annotated class.
Several people have requested the ability to name the logger.
This change adds an optional parameter to all of the @Log family of annotations. Default value is log. Otherwise you can name it whatever you want. If there is a name conflict with a field in the class then a compile error occurs.
Activity
Hamlet D'Arcy
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
Paul King
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |