From 67950f52de73f76cbaa398c1edda5fbdfe7087ab Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Wed, 19 Dec 2012 12:06:27 +0000 Subject: [PATCH] Support new "irspy_data" log-level to register information written to target description record. --- lib/ZOOM/IRSpy/Record.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/ZOOM/IRSpy/Record.pm b/lib/ZOOM/IRSpy/Record.pm index c5b6c1b..29160ec 100644 --- a/lib/ZOOM/IRSpy/Record.pm +++ b/lib/ZOOM/IRSpy/Record.pm @@ -117,9 +117,10 @@ sub store_result { $xml .= " $key=\"" . xml_encode($info{$key}) . "\""; } - $xml .= ">" . isodate(time()) . "\n"; + $xml .= ">" . isodate(time()) . ""; - $this->append_entry('irspy:status', $xml); + $this->{irspy}->log("irspy_data", $xml); + $this->append_entry('irspy:status', $xml . "\n"); } -- 1.7.10.4