Commit Briefs

d4d1086311 Izzy Blacklock

Bigfix - add missing IO::Socket and IO::Select


197f12698d Izzy Blacklock

bugfix and cleanup


2ee7286287 Izzy Blacklock

bug fix


f17992d3c5 Izzy Blacklock

Moved creating arrays from strings to IRCNOW::IO::IRC::new()



1eb65f132e Izzy Blacklock

bugfix - missed $self-> for createsockets() call


ee880ef054 Izzy Blacklock

used package globals as default values in ircnow::IO::IRC::new()

had a bug with $bots pointing to and empty array. updated to use the package globals as the source for default values in the object.


ed5e8478f6 Izzy Blacklock

Added new() and function for socket creation

moved socket creation from botnow script added new to create $irc object maintained compatability with calling functions in object mode or function mode as procausion for legacy code. NOTE TO SELF - should add a warning to output to recommend updating to object mode


b19b7985c6 Izzy Blacklock

Added debug messages to IRCNOW::IO::IRC.pm


e298cbe83b Izzy Blacklock

Made our $IRCNOW::IO::backupspath


42ceeb91d9 Izzy Blacklock

corrected missing shared global vars


bf5366ed2a Izzy Blacklock

added missing our $call;


81b247118e Izzy Blacklock

added isstaff() to irc.pm


040156866f Izzy Blacklock

added IRCNOW::IO::verbosity2const() function


3bc13fbbee Izzy Blacklock

Added date/time and email functions from ponbot code

corrected $dbLevel to $verbosity in export_ok list Also added POD documents to IRCNOW::IO.pm


b1d17a526f Izzy Blacklock

Moved README.md to doc/logger.md


2e32cc1047 TheLion

refactor: rename instance to self


a878098597 TheLion

fix: add backwards compatible verbosity levels


8851c7ffe6 TheLion

docs: fix docs


f0df20090f TheLion

docs: update docs


923b1a5885 TheLion

ci: linting


f976eb7d37 TheLion

feat: allow setting verbosity


c758c43671 TheLion

docs: update readme


c62b38f800 TheLion

fix: file paths


c30e374147 TheLion

feat: add logger module



23393a0021 Izzy Blacklock

Added debug() messages to libraries and tested

Seems to work well using exported constants.


e3ad35bb3d Izzy Blacklock

Added debug() and debug level constants

Can now selectively import the debug() function an defined constants like this: use IRCNOW::IO qw(:DEBUG); updated parseznc.pl to use it.


618ba1715b Izzy Blacklock

Moved basic io functions from botnow to lib/IRCNOW/IO.pm

Started moving code from botnow into IRCNOW:: library


7deb630f23 Izzy Blacklock

Moved database related functions to IRCNOW::Database.pm

Added IRCNOW::Parselog.pm as a base class for log parsers. It has stub functions for common database functions to make the code easier to view/manage at the application level.


16a10af072 Izzy Blacklock

Start of a library set for accessing data on ircnow network servers

Current version connects to an botnow database and the parses the znc log file. It can create a database table for the znc log and read the last line from the database table. The test application parseznc.pl does a simple dump of the parsed data file. It can skip the records from the dump based on a passed record. Working to abstract some of the code into a IRCNOW::ParseLog and IRCNOW::Database library to make future log parsing tasks easier.