Unicode plugin: import tests and update current ones
[catagits/Catalyst-Runtime.git] / t / lib / TestLogger.pm
1 package TestLogger;
2 use strict;
3 use warnings;
4
5 our @LOGS;
6 our @ELOGS;
7
8 sub new {
9     return bless {}, __PACKAGE__;
10 }
11
12 sub debug {
13     shift;
14     push(@LOGS, shift());
15 }
16
17 sub warn {
18     shift;
19     push(@ELOGS, shift());
20 }
21
22 1;
23