$spec->add_export("&log_$level", sub (&@) {
my ($code, @args) = @_;
$router->handle_log_request({
+ controller => $class,
package => scalar(caller),
caller_level => 1,
level => $level,
$spec->add_export("&logS_$level", sub (&@) {
my ($code, @args) = @_;
$router->handle_log_request({
+ controller => $class,
package => scalar(caller),
caller_level => 1,
level => $level,
&$code;
};
$router->handle_log_request({
+ controller => $class,
package => scalar(caller),
caller_level => 1,
level => $level,
&$code;
};
$router->handle_log_request({
+ controller => $class,
package => scalar(caller),
caller_level => 1,
level => $level,