Hi,

I've attached a class that can be used in sitemaps to easily add some
logging. You simply declare the action and then call it like so:

<map:act type="log"> <map:parameter name="msg" value="log-message"/>
<map:parameter name="level" value="FATAL" /> </map:act>

In my experience this action aids development and debugging speed a great
deal, so I thought that it might be useful to share it with others. It would
be even better if Hippo would include it in the next version of Hippo Cocoon
or would try to get it included in regular Cocoon, so we don't have to
maintain it.

Of course, this action should not be used in production, because it breaks
caching.

Best regards,

Wouter Zelle

Attachment: LogAction.java
Description: Binary data

********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html

Reply via email to