line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
373860
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
40
|
|
2
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
53
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
package MooseX::Role::Logger; |
5
|
|
|
|
|
|
|
# ABSTRACT: Provide logging via Log::Any (DEPRECATED) |
6
|
|
|
|
|
|
|
our $VERSION = '0.005'; # VERSION |
7
|
|
|
|
|
|
|
|
8
|
1
|
|
|
1
|
|
3
|
use Moo::Role; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
6
|
|
9
|
|
|
|
|
|
|
with 'MooX::Role::Logger'; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
1; |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
# vim: ts=4 sts=4 sw=4 et: |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
__END__ |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=pod |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=encoding UTF-8 |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 NAME |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
MooseX::Role::Logger - Provide logging via Log::Any (DEPRECATED) |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 VERSION |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
version 0.005 |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 DESCRIPTION |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
L<MooseX::Role::Logger> has been renamed to L<MooX::Role::Logger> to clarify |
33
|
|
|
|
|
|
|
that it works with both L<Moo> and L<Moose>. This role just wraps that one and |
34
|
|
|
|
|
|
|
is provided for backwards compatibility. |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
See L<MooX::Role::Logger> for usage details. |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 AUTHOR |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
David Golden <dagolden@cpan.org> |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
This software is Copyright (c) 2013 by David Golden. |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
This is free software, licensed under: |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
The Apache License, Version 2.0, January 2004 |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=cut |