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.021001';
3 2     2   1441 use strictures 2;
  2         1810  
  2         82  
4              
5 2     2 0 461 sub new { bless [], shift }
6              
7             sub _write {
8 2     2   1388 local $|=1;
9 2         9 binmode STDOUT, ":utf8";
10 2         16 print STDOUT $_[1]
11             }
12              
13             1;
14             __END__