projects
/
irspy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b6d379
)
Support new "irspy_data" log-level to register information written to
author
Mike Taylor
<mike@indexdata.com>
Wed, 19 Dec 2012 12:06:27 +0000
(12:06 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Wed, 19 Dec 2012 12:06:27 +0000
(12:06 +0000)
target description record.
lib/ZOOM/IRSpy/Record.pm
patch
|
blob
|
history
diff --git
a/lib/ZOOM/IRSpy/Record.pm
b/lib/ZOOM/IRSpy/Record.pm
index
c5b6c1b
..
29160ec
100644
(file)
--- 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()) . "</irspy:$type>\n";
+ $xml .= ">" . isodate(time()) . "</irspy:$type>";
- $this->append_entry('irspy:status', $xml);
+ $this->{irspy}->log("irspy_data", $xml);
+ $this->append_entry('irspy:status', $xml . "\n");
}