From: Andreas Marienborg Date: Tue, 12 Mar 2013 02:09:06 +0000 (+0700) Subject: Add pod for the external method 'psgienv' X-Git-Tag: 5.90030~19^2~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=d298046a19660552a63dc7017bc0d37c62dcb38e Add pod for the external method 'psgienv' --- diff --git a/lib/Catalyst/Log.pm b/lib/Catalyst/Log.pm index b685b72..42aff02 100644 --- a/lib/Catalyst/Log.pm +++ b/lib/Catalyst/Log.pm @@ -290,6 +290,17 @@ This protected method is what actually sends the log information to STDERR. You may subclass this module and override this method to get finer control over the log output. +=head2 psgienv $env + + $log->psgienv($env); + +NOTE: This is not meant for public consumption. + +Set the PSGI environment for this request. This ensures logs will be sent to +the right place. If the environment has a C, it will be used. If +not, we will send logs to C if that exists. As a last fallback, we +will send to STDERR as before. + =head2 meta =head1 SEE ALSO