Robin Bowes wrote:
> Is it possible to call the subs in the parent plugin? 

That's in the example in the README.plugins:

  $self->SUPER::hook_reset_transaction( $transaction, @args );


> Would I need to do
> that? For example, if I override hook_reset_transaction to write a
> parseable accept log I would still want logging to go to the "detailed" log.

The hook_logging() actually does the detailed log; in the current plugin,
hook_reset_transaction() handles the accepted messages only (the hook_reject is
just a stub).  For your purposes, you can override hook_reset_transaction() and
hook_reject() and let the base plugin handle hook_logging().

HTH

John

Reply via email to