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",
);