package Bot::Cobalt::Logger::Output::Term;
our $VERSION = '0.016000';
use strictures 1;
sub new {
my $class = shift;
my $self = [];
bless $self, $class;
$self
}
sub _write {
my ($self, $str) = @_;
local $|=1;
binmode STDOUT, ":utf8";
print STDOUT $str
}
1;
__END__
=pod
=head1 NAME
Bot::Cobalt::Logger::Output::Term - Bot::Cobalt::Logger console output
=head1 SYNOPSIS
$output_obj->add(
'MyScreen' => {
type => 'Term',
},
);
See L<Bot::Cobalt::Logger::Output>.
=head1 DESCRIPTION
This is a L<Bot::Cobalt::Logger::Output> writer for logging messages to
STDOUT.
Expects UTF-8.
=head1 AUTHOR
Jon Portnoy <avenj@cobaltirc.org>
=cut