Maybe a naive question here, but is there some typical
strategy
for logging from TT?
I know I can do:
[% PERL %]
print STDERR "message";
[% END %]
But tedious (and presumably inefficient?)
I'm passing the Apache request object as a param, so I can
do:
[% r.log_notice("message") %]
which is reasonsable.
But I wonder if I'm missing something else (perhaps
obvious?)
Thanks,
Mark
_______________________________________________
templates mailing list
templates template-toolkit.org
http://lists.template-toolkit.org/mailman/listinfo/t
emplates
|