Removed showDebug() in favour of new logger panel

This commit is contained in:
Patrick Donelan 2010-04-13 21:17:15 -04:00
parent 2d7c8e637f
commit 9b4e67b828
2 changed files with 2 additions and 6 deletions

View file

@ -212,9 +212,6 @@ sub handle {
# "chunked" or "empty" means it took care of its own output needs # "chunked" or "empty" means it took care of its own output needs
if (defined $output && ( $output eq "chunked" || $output eq "empty" )) { if (defined $output && ( $output eq "chunked" || $output eq "empty" )) {
#warn "chunked and empty no longer stream, use session->response->stream() instead"; #warn "chunked and empty no longer stream, use session->response->stream() instead";
if ($session->errorHandler->canShowDebug()) {
$session->output->print($session->errorHandler->showDebug(),1);
}
return; return;
} }
# non-empty output should be used as the response body # non-empty output should be used as the response body
@ -224,9 +221,6 @@ sub handle {
# Use contentHandler's return value as the output # Use contentHandler's return value as the output
$session->output->print($output); $session->output->print($output);
if ($session->errorHandler->canShowDebug()) {
$session->output->print($session->errorHandler->showDebug(),1);
}
return; return;
} }
# Keep processing for success codes # Keep processing for success codes

View file

@ -447,6 +447,8 @@ sub session {
Creates an HTML formatted string of all internally stored debug information, warns, Creates an HTML formatted string of all internally stored debug information, warns,
errors, sql queries and form data. errors, sql queries and form data.
THIS METHOD IS DEPRECATED (See Plack::Middleware::Debug::WgLogger)
=cut =cut
sub showDebug { sub showDebug {