OSDN Git Service
(root)
/
keitairc
/
keitairc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbd3bff
)
add missing log_die method for Keitairc::Log
author
ISHIKAWA Mutsumi
<ishikawa@hanzubon.jp>
Mon, 13 Sep 2010 09:10:42 +0000
(18:10 +0900)
committer
ISHIKAWA Mutsumi
<ishikawa@hanzubon.jp>
Mon, 13 Sep 2010 09:10:42 +0000
(18:10 +0900)
lib/Keitairc/Log.pm
patch
|
blob
|
history
diff --git
a/lib/Keitairc/Log.pm
b/lib/Keitairc/Log.pm
index
7c10022
..
c82ae29
100644
(file)
--- a/
lib/Keitairc/Log.pm
+++ b/
lib/Keitairc/Log.pm
@@
-99,4
+99,10
@@
sub log_debug {
$me->{writer}->log_debug($me->_format($m));
}
+sub log_die {
+ my ($me, $m) = @_;
+ $me->log_error($m);
+ die;
+}
+
1;