Help language development. Donate to The Perl Foundation

IRC::Log::Colabti zef:lizmat last updated on 2022-04-29


Actions Status


IRC::Log::Colabti - interface to IRC logs from


use IRC::Log::Colabti;

my $log =$filename.IO);

say "Logs from $";
.say for $log.entries.List;

my $log =$text, $date);


IRC::Log::Colabti provides an interface to the IRC logs that are available from (raw format). Please see IRC::Log for more information.



my $merged = $log.merge($channel);    # merge with Colabti archive of same date

my $merged = $log.merge($slurped);    # merge with another log file of same date

my $merged = $log.merge($other-log);  # merge with log object

my $merged = $log.merge($path.IO);    # merge with log file by IO::Path

The merge instance method attempts to add entries from another log of the same date that are not present in the entries of the instance. This functionality is intended to fix "holes" in the logs caused by temporary outages of the various loggers.

It takes a single positional argument, which can either be:

It either returns Nil if no missing entries were found, or a freshly created object of the same type as the invocant.

When merging with Colabti's channel logs, it is possible to specify a :normalizer argument to indicate code to normalize the logs obtained from Colabti. By default, this will be the same normalization as used by the IRC::Client::Plugin::Logger module.


Elizabeth Mattijsen [email protected]

Source can be located at: . Comments and Pull Requests are welcome.


Copyright 2021, 2022 Elizabeth Mattijsen

This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.