-# $Id: Connection.pm,v 1.3 2006-10-12 14:35:43 mike Exp $
+# $Id: Connection.pm,v 1.4 2006-10-12 16:54:13 mike Exp $
package ZOOM::IRSpy::Connection;
my $old = $this->{current_task};
if (defined $new) {
$this->{current_task} = $new;
- $this->log("irspy_debug", "set current task to $new");
+ $this->log("irspy_task", "set current task to $new");
}
return $old;
my $old = $this->{next_task};
if (defined $new) {
$this->{next_task} = $new;
- $this->log("irspy_debug", "set next task to $new");
+ $this->log("irspy_task", "set next task to $new");
}
return $old;
my $task = new ZOOM::IRSpy::Task::Connect($this, $udata, %cb);
$this->add_task($task);
- $this->log("irspy", "registered connect()");
}
my $task = new ZOOM::IRSpy::Task::Search($query, $this, $udata, %cb);
$this->add_task($task);
- $this->log("irspy", "registered search_pqf($query)");
}
my $tasks = $this->{tasks};
$tasks->[-1]->{next} = $task if @$tasks > 0;
push @$tasks, $task;
- $this->log("irspy", "added task $task");
+ $this->log("irspy_task", "added task $task");
}