| line | stmt | bran | cond | sub | pod | time | code | 
| 1 |  |  |  |  |  |  | package App::perlimports::Role::Logger; | 
| 2 |  |  |  |  |  |  |  | 
| 3 | 75 |  |  | 75 |  | 695802 | use Moo::Role; | 
|  | 75 |  |  |  |  | 247 |  | 
|  | 75 |  |  |  |  | 564 |  | 
| 4 |  |  |  |  |  |  |  | 
| 5 |  |  |  |  |  |  | our $VERSION = '0.000051'; | 
| 6 |  |  |  |  |  |  |  | 
| 7 | 75 |  |  | 75 |  | 36803 | use Types::Standard qw( InstanceOf ); | 
|  | 75 |  |  |  |  | 206 |  | 
|  | 75 |  |  |  |  | 554 |  | 
| 8 |  |  |  |  |  |  |  | 
| 9 |  |  |  |  |  |  | has logger => ( | 
| 10 |  |  |  |  |  |  | is        => 'ro', | 
| 11 |  |  |  |  |  |  | isa       => InstanceOf ['Log::Dispatch'], | 
| 12 |  |  |  |  |  |  | predicate => '_has_logger', | 
| 13 |  |  |  |  |  |  | writer    => 'set_logger', | 
| 14 |  |  |  |  |  |  | ); | 
| 15 |  |  |  |  |  |  |  | 
| 16 |  |  |  |  |  |  | 1; | 
| 17 |  |  |  |  |  |  |  | 
| 18 |  |  |  |  |  |  | # ABSTRACT: Provide a logger attribute to App::perlimports objects | 
| 19 |  |  |  |  |  |  |  | 
| 20 |  |  |  |  |  |  | __END__ | 
| 21 |  |  |  |  |  |  |  | 
| 22 |  |  |  |  |  |  | =pod | 
| 23 |  |  |  |  |  |  |  | 
| 24 |  |  |  |  |  |  | =encoding UTF-8 | 
| 25 |  |  |  |  |  |  |  | 
| 26 |  |  |  |  |  |  | =head1 NAME | 
| 27 |  |  |  |  |  |  |  | 
| 28 |  |  |  |  |  |  | App::perlimports::Role::Logger - Provide a logger attribute to App::perlimports objects | 
| 29 |  |  |  |  |  |  |  | 
| 30 |  |  |  |  |  |  | =head1 VERSION | 
| 31 |  |  |  |  |  |  |  | 
| 32 |  |  |  |  |  |  | version 0.000051 | 
| 33 |  |  |  |  |  |  |  | 
| 34 |  |  |  |  |  |  | =head1 AUTHOR | 
| 35 |  |  |  |  |  |  |  | 
| 36 |  |  |  |  |  |  | Olaf Alders <olaf@wundercounter.com> | 
| 37 |  |  |  |  |  |  |  | 
| 38 |  |  |  |  |  |  | =head1 COPYRIGHT AND LICENSE | 
| 39 |  |  |  |  |  |  |  | 
| 40 |  |  |  |  |  |  | This software is copyright (c) 2020 by Olaf Alders. | 
| 41 |  |  |  |  |  |  |  | 
| 42 |  |  |  |  |  |  | This is free software; you can redistribute it and/or modify it under | 
| 43 |  |  |  |  |  |  | the same terms as the Perl 5 programming language system itself. | 
| 44 |  |  |  |  |  |  |  | 
| 45 |  |  |  |  |  |  | =cut |