NAME
WebService::Mattermost::Role::Logger - Internal logger role.
VERSION
version 0.29
DESCRIPTION
Bundle a Mojo::Log
object into a Moo class.
SYNOPSIS
use Moo;
with 'WebService::Mattermost::Role::Logger';
sub something {
my $self = shift;
$self->logger->warn('Foo');
}
ATTRIBUTES
logger
-
A
Mojo::Log
object.
SEE ALSO
- WebService::Mattermost::Util::Logger
Log::Log4perl
AUTHOR
Mike Jones <mike@netsplit.org.uk>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2020 by Mike Jones.
This is free software, licensed under:
The MIT (X11) License