{"id":16102370,"url":"https://github.com/sshaw/mojolicious-plugin-paramlogger","last_synced_at":"2025-04-06T01:11:47.913Z","repository":{"id":4599740,"uuid":"5742623","full_name":"sshaw/Mojolicious-Plugin-ParamLogger","owner":"sshaw","description":"Log request parameters","archived":false,"fork":false,"pushed_at":"2020-01-09T00:20:17.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-12T06:59:42.623Z","etag":null,"topics":["logging","mojolicious","parameters","perl","urls"],"latest_commit_sha":null,"homepage":null,"language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sshaw.png","metadata":{"files":{"readme":"README.pod","changelog":"Changes","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-09-09T23:11:54.000Z","updated_at":"2020-01-09T00:20:20.000Z","dependencies_parsed_at":"2022-07-21T12:32:13.956Z","dependency_job_id":null,"html_url":"https://github.com/sshaw/Mojolicious-Plugin-ParamLogger","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshaw%2FMojolicious-Plugin-ParamLogger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshaw%2FMojolicious-Plugin-ParamLogger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshaw%2FMojolicious-Plugin-ParamLogger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshaw%2FMojolicious-Plugin-ParamLogger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sshaw","download_url":"https://codeload.github.com/sshaw/Mojolicious-Plugin-ParamLogger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247419871,"owners_count":20936013,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["logging","mojolicious","parameters","perl","urls"],"created_at":"2024-10-09T18:53:40.428Z","updated_at":"2025-04-06T01:11:47.887Z","avatar_url":"https://github.com/sshaw.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"=pod\n\n=head1 NAME\n\nMojolicious::Plugin::ParamLogger - Log request parameters\n\n=for html \u003ca href=\"https://travis-ci.org/sshaw/Mojolicious-Plugin-ParamLogger\"\u003e\u003cimg src=\"https://travis-ci.org/sshaw/Mojolicious-Plugin-ParamLogger.svg?branch=master\"\u003e\u003c/a\u003e\n\n=head1 SYNOPSIS\n\n  # Mojolicious\n  $self-\u003eplugin('ParamLogger', %options)\n\n  # Mojolicious::Lite\n  plugin 'ParamLogger', %options;\n\n=head1 DESCRIPTION\n\nThis module automatically logs request parameters while in development mode. \nSee L\u003c/OPTIONS\u003e for details. \n\nC\u003cMojolicious\u003e doesn't log request parameters. Of course -depending on your setup-\nthey may be logged elsewhere but, when in development, I use C\u003cmorbo\u003e and C\u003cmorbo\u003e\ndoesn't log them (same goes for C\u003chypnotoad\u003e).\n\n=head1 OPTIONS\n\n=head2 C\u003cfilter\u003e  \n\n  $self-\u003eplugin('ParamLogger', filter =\u003e 'authtoken')\n  $self-\u003eplugin('ParamLogger', filter =\u003e [ qw{nome senha} ])\n\nParmeter values to exclude from the log. Defaults to C\u003c'password'\u003e.\n\n=head2 C\u003clevel\u003e \n\n  $self-\u003eplugin('ParamLogger', level =\u003e 'info')\n\nLog the request parameters at the given log level. Defaults to C\u003c'info'\u003e in production, C\u003c'debug'\u003e everywhere else.\nSee L\u003cMojo::Log/level\u003e for a list of log levels.\n\n=head2 C\u003cmode\u003e\n\n  $self-\u003eplugin('ParamLogger', production =\u003e 1)\n\nTurn on parameter logging for the given mode. By default parameters will only be logged when in development mode.\n\n=head1 SEE ALSO\n\nL\u003cMojolicious\u003e, L\u003cMojo::Log\u003e\n\n=head1 LICENSE\n\nCopyright (c) 2012 Skye Shaw. \n\nThis library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.\n\n\n=cut\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsshaw%2Fmojolicious-plugin-paramlogger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsshaw%2Fmojolicious-plugin-paramlogger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsshaw%2Fmojolicious-plugin-paramlogger/lists"}