The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Raisin::Plugin::Logger - Logger plugin for Raisin.

SYNOPSIS

plugin 'Logger';
logger(info => 'Hello!');

DESCRIPTION

Provides log method which is an alias for Log::Dispatch or Raisin::Logger log method.

$self->{logger}->log(
    level   => $level,
    message => "$ts: $str\n",
);

AUTHOR

Artur Khabibullin - rtkh <at> cpan.org

LICENSE

This module and all the modules in this package are governed by the same license as Perl itself.