projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Add test for logging via psgi env
[catagits/Catalyst-Runtime.git]
/
t
/
lib
/
TestApp
/
Controller
/
Log.pm
diff --git a/t/lib/TestApp/Controller/Log.pm
b/t/lib/TestApp/Controller/Log.pm
new file mode 100644
(file)
index 0000000..
1a8cf0a
--- /dev/null
+++ b/
t/lib/TestApp/Controller/Log.pm
@@ -0,0
+1,14
@@
+package TestApp::Controller::Log;
+
+use strict;
+use base 'Catalyst::Controller';
+
+sub debug :Local {
+ my ( $self, $c ) = @_;
+ $c->log->debug('debug');
+ $c->res->body( 'logged' );
+}
+
+
+1;
+