Author image Marius Gavrilescu

NAME

POE::Component::IRC::Plugin::Logger::Irssi - Log IRC events like irssi

SYNOPSIS

  use POE::Component::IRC::Plugin::Logger::Irssi qw/irssi_format/;
  ...
  $irc->plugin_add(Logger => POE::Component::IRC::Plugin::Logger->new(
    Format => irssi_format,
    ...
  ));

DESCRIPTION

POE::Component::IRC::Plugin::Logger::Irssi is an extension to the POE::Component::IRC::Plugin::Logger PoCo-IRC plugin that logs everything in a format similar to the one used by the irssi IRC client.

It exports one function, irssi_format, that returns a hashref to be used as the value to POE::Component::IRC::Plugin::Logger->new's format argument.

AUTHOR

Marius Gavrilescu <marius@ieval.ro>

COPYRIGHT AND LICENSE

Copyright (C) 2013 by Marius Gavrilescu

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.2 or, at your option, any later version of Perl 5 you may have available.