projects
/
catagits/Catalyst-Runtime.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
6c1a26e01bc55eb94fd5826047f2f87aaeb246b2
[catagits/Catalyst-Runtime.git]
/
t
/
lib
/
TestLogger.pm
1
package TestLogger;
2
use strict;
3
use warnings;
4
5
our @LOGS;
6
our @ILOGS;
7
our @ELOGS;
8
9
sub new {
10
return bless {}, __PACKAGE__;
11
}
12
13
sub debug {
14
shift;
15
push(@LOGS, shift());
16
}
17
18
sub info {
19
shift;
20
push(@ILOGS, shift());
21
}
22
23
sub warn {
24
shift;
25
push(@ELOGS, shift());
26
}
27
28
1;
29