File Coverage

blib/lib/Bot/Cobalt/Logger/Output/Term.pm
Criterion Covered Total %
statement 7 7 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod 0 1 0.0
total 10 11 90.9


line stmt bran cond sub pod time code
1             package Bot::Cobalt::Logger::Output::Term;
2             $Bot::Cobalt::Logger::Output::Term::VERSION = '0.021002';
3 2     2   805 use strictures 2;
  2         1082  
  2         59  
4              
5 2     2 0 324 sub new { bless [], shift }
6              
7             sub _write {
8 2     2   892 local $|=1;
9 2         6 binmode STDOUT, ":utf8";
10 2         13 print STDOUT $_[1]
11             }
12              
13             1;
14             __END__