Quantcast

Should artefact log be static??

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Should artefact log be static??

johnrellis
Hey,

When working in artefacts the injected log property isn't available in static methods.

Should it be static???

If not, why so?

John

--
John Rellis

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Should artefact log be static??

burtbeckwith
They're static in Grails 2.0+.

Burt

johnrellis wrote
Hey,

When working in artefacts the injected log property isn't available in
static methods.

Should it be static???

If not, why so?

John

--
John Rellis
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Should artefact log be static??

johnrellis
Thanks.

On Mon, Dec 12, 2011 at 9:15 PM, burtbeckwith <[hidden email]> wrote:
They're static in Grails 2.0+.

Burt


johnrellis wrote
>
> Hey,
>
> When working in artefacts the injected log property isn't available in
> static methods.
>
> Should it be static???
>
> If not, why so?
>
> John
>
> --
> John Rellis
>


--
View this message in context: http://grails.1312388.n4.nabble.com/Should-artefact-log-be-static-tp4176890p4187647.html
Sent from the Grails - user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email





--
John Rellis

Loading...