Prty::Mojolicious::Plugin::Log::Parameters - Logge Request-Parameter
Mojolicious::Plugin
# Mojolicious $app->plugin('Prty::Mojolicious::Plugin::Log::Parameters'); # Mojolicious::Lite plugin 'Prty::Mojolicious::Plugin::Log::Parameters';
Das Plugin installiert einen before_routes Handler, der bei jedem Request auf Loglevel debug die Liste der empfangenen GET- und POST-Parameter ins Log ausgibt.
before_routes
debug
Das Plugin ist bei der Entwicklung von Action-Seiten zu Formularen nützlich, denn es macht sichtbar, welche Daten die Action-Seite empfängt.
$plugin->register($app,$conf);
Diese Methode implementiert die Funktionalität des Plugin. Sie wird nicht direkt, sondern von Mojolicious aufgerufen.
1.099
Frank Seitz, http://fseitz.de/
Copyright (C) 2016 Frank Seitz
This code is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Prty, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Prty
CPAN shell
perl -MCPAN -e shell install Prty
For more information on module installation, please visit the detailed CPAN module installation guide.