- or download this
# deep inside the framework
&$logger("frobnication successful");
- or download this
# deep inside the framework
&$logger($LOGHANDLE, "frobnication successful");
- or download this
my $logger = sub {
my $msg = shift;
log_to_handle($MYHANDLE, $msg);
};
- or download this
my $logger = log_to_handle_c($MYHANDLE);