Skip to content

Commit

Permalink
add 'info' to MyLog in test app
Browse files Browse the repository at this point in the history
  • Loading branch information
yanick committed Jul 13, 2011
1 parent 51b53db commit 40b651c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Revision history for Catalyst::Plugin::MemoryUsage
[API CHANGES]

[BUG FIXES]
- Add 'info' function in test app (issue found by Glenn Sumido)

[ENHANCEMENTS]

Expand Down
1 change: 1 addition & 0 deletions MANIFEST
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Build.PL
Changes
INSTALL
LICENSE
MANIFEST
META.json
Expand Down
5 changes: 5 additions & 0 deletions t/lib/TestApp.pm
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ sub can {
0;
}

sub info {
shift;
push @{ $MyLog::mylog->{info} }, "@_";
}

sub error {
shift;
push @{ $MyLog::mylog->{error} }, "@_";
Expand Down

0 comments on commit 40b651c

Please sign in to comment.