moved over some of the circ code to using the events and utility
methods defined by apputils
added some utility methods to apputils
now exporting $logger var from the logger code
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@614
9efc2488-bf62-4759-914b-
345cdb29e865
=cut
@EXPORT_OK = qw/ NONE ERROR WARN INFO DEBUG INTERNAL /;
+push @EXPORT_OK, '$logger';
-%EXPORT_TAGS = ( level => [ qw/ NONE ERROR WARN INFO DEBUG INTERNAL / ] );
+%EXPORT_TAGS = ( level => [ qw/ NONE ERROR WARN INFO DEBUG INTERNAL / ], logger => [ '$logger' ] );
my $config; # config handle
my $loglevel; # global log level
my $act_logfile_enabled = 1; # are we logging to a file?
my $logdir; # log file directory
+our $logger = "OpenSRF::Utils::Logger";
+
# log levels
sub ACTIVITY { return -1; }
sub NONE { return 0; }