From: Mike Taylor Date: Thu, 22 Feb 2007 15:43:13 +0000 (+0000) Subject: Warning of left-over events now emitted using yaz_log() rather than warn(). X-Git-Tag: CPAN-v1.02~54^2~552 X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=commitdiff_plain;h=8d9fe44dfb7b07abc8dff4b7de64bdf64ce8e80d Warning of left-over events now emitted using yaz_log() rather than warn(). --- diff --git a/lib/ZOOM/IRSpy.pm b/lib/ZOOM/IRSpy.pm index c0079f0..b2e0f15 100644 --- a/lib/ZOOM/IRSpy.pm +++ b/lib/ZOOM/IRSpy.pm @@ -1,4 +1,4 @@ -# $Id: IRSpy.pm,v 1.62 2007-02-22 11:51:58 mike Exp $ +# $Id: IRSpy.pm,v 1.63 2007-02-22 15:43:13 mike Exp $ package ZOOM::IRSpy; @@ -546,7 +546,8 @@ sub check { my $conn = $conn[$i1-1]; my $ev = $conn->last_event(); my $evstr = ZOOM::event_str($ev); - warn "$conn still has ZOOM-C level task queued: $ev ($evstr)" + $this->log("irspy", + "$conn still has ZOOM-C level task queued: $ev ($evstr)") if $ev != ZOOM::Event::ZEND; }