whitespace cleanup
[catagits/Catalyst-Runtime.git] / t / lib / TestLogger.pm
index f1dc7e6..87e9213 100644 (file)
@@ -3,6 +3,7 @@ use strict;
 use warnings;
 
 our @LOGS;
+our @ILOGS;
 our @ELOGS;
 
 sub new {
@@ -14,10 +15,16 @@ sub debug {
     push(@LOGS, shift());
 }
 
+sub info {
+    shift;
+    push(@ILOGS, shift());
+}
+
 sub warn {
     shift;
     push(@ELOGS, shift());
 }
 
+sub error { die "Got unexpected error; $_[1]" }
 1;