X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FLog.pm;h=42aff02f82fe4c9aa056dac6e0b98069f085dfa4;hp=b685b72d62e858efedb4716a62b34d7e91870822;hb=d298046a19660552a63dc7017bc0d37c62dcb38e;hpb=21da73774347823e2983e1f8dfa73917d0779d2f 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