Plack-Middleware-DebugLogging

 view release on metacpan or  search on metacpan

README.mkdn  view on Meta::CPAN


Plack::Middleware::DebugLogging - Catalyst style console debugging for plack apps

# METHODS

## $self->log\_request

Writes information about the request to the debug logs.  This includes:

- Request method, path, and remote IP address
- Query keywords (see ["query\_keywords" in Catalyst::Request](https://metacpan.org/pod/Catalyst::Request#query_keywords))
- Request parameters
- File uploads

## $self->log\_response

Writes information about the response to the debug logs by calling
`$self->log_response_status_line` and `$self->log_response_headers`.

## $self->log\_response\_status\_line($response)

lib/Plack/Middleware/DebugLogging.pm  view on Meta::CPAN

=head1 METHODS

=head2 $self->log_request

Writes information about the request to the debug logs.  This includes:

=over 4

=item * Request method, path, and remote IP address

=item * Query keywords (see L<Catalyst::Request/query_keywords>)

=item * Request parameters

=item * File uploads

=back

=head2 $self->log_response

Writes information about the response to the debug logs by calling



( run in 0.264 second using v1.01-cache-2.11-cpan-299005ec8e3 )