Wouldn't a logging service make more sense ?

This sounds a lot like a hack to me.

On Mon, Jun 28, 2010 at 17:01, Caleb James DeLisle
<[email protected]> wrote:
> I would like to start deprecating templates which are no longer used and I 
> think the right way is to make
> the deprecated template throw a warning to the logs when it's called.
>
> I am proposing adding a service which does nothing but is deprecated. 
> Templates which we deprecate will
> have this call added and then users of said templates will have fair warning 
> that the template will be
> removed.
>
> Not knowing what the convention is I will blindly suggest:
> $services.velocity.deprecated()
> If anyone has a better name, I'd like to hear it.
>
>
> WDYT?
>
> Caleb
>
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
>



-- 
Thomas Mortagne
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to