Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: e59d5b0487
Fetching contributors…

Cannot retrieve contributors at this time

47 lines (30 sloc) 0.72 kb
package Angelos::Middleware;
use Mouse;
use Angelos::Exceptions;
use Angelos::Logger;
no Mouse;
sub wrap {
my ( $self, $next ) = @_;
Angelos::Exception::AbstractMethod->throw(
message => 'Sub class must implement wrap method');
}
sub log_message {
my ( $self, $message ) = @_;
Angelos::Logger->instance->log(
level => "info",
message => "\n" . $message,
);
}
__PACKAGE__->meta->make_immutable;
1;
__END__
=head1 NAME
=head1 SYNOPSIS
=head1 DESCRIPTION
=head1 AUTHOR
Takatoshi Kitano E<lt>kitano.tk@gmail.comE<gt>
=head1 SEE ALSO
=head1 LICENSE
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
=cut
Jump to Line
Something went wrong with that request. Please try again.