This option excepts a code reference.
Please note that the message is forwarded as a hash reference. If you change it then this would have an effect to all outputs.
With this option you can define arguments that will be passed to the sub
In the following example the arguments would be passed as a array to Class::method().
This would call intern:
If this option is not set then the message will be passed as first argument.
$forwarder->log("this message will be forwarded to all sub routines");
Validate a configuration.
Reload with a new configuration.
This function returns the last error message.
Note that the message will be forwarded as a hash reference.
If you make changes to the reference it affects all other outputs.
The hash key message contains the message.
Please report all bugs to <jschulz.cpan(at)bloonix.de>.
If you send me a mail then add Log::Handler into the subject.
Jonny Schulz <jschulz.cpan(at)bloonix.de>.
Copyright (C) 2007-2009 by Jonny Schulz. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
|perl v5.20.3||LOG::HANDLER::OUTPUT::FORWARD (3)||2013-11-03|