The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Доброго всем

Mojolicious::Plugin::RoutesAuthDBI::Log

¡ ¡ ¡ ALL GLORY TO GLORIA ! ! !

NAME

Mojolicious::Plugin::RoutesAuthDBI::Log - store log in DBI table.

SYNOPSIS

    $app->plugin('RoutesAuthDBI', 
        ...
        log => {< hashref options list below >},
        ...
    );

OPTIONS

namespace

String, default to 'Mojolicious::Plugin::RoutesAuthDBI'.

module

String, default to 'Guest' (this module).

disabled

Boolean, disable logging.

skip_static

Boolean. True then log non-static routes only. Default false.

tables

Hashref, any DB tables names. See Mojolicious::Plugin::RoutesAuthDBI::Schema#Default-variables-for-SQL-templates.

table

String, DB table logs name. See Mojolicious::Plugin::RoutesAuthDBI::Schema#Default-variables-for-SQL-templates.

METHODS

new

Apply logging into DBI table by "after_dispatch" hook

SEE ALSO

Mojolicious::Plugin::RoutesAuthDBI

AUTHOR

Михаил Че (Mikhail Che), <mche [on] cpan.org>

BUGS / CONTRIBUTING

Please report any bugs or feature requests at https://github.com/mche/Mojolicious-Plugin-RoutesAuthDBI/issues. Pull requests welcome also.

COPYRIGHT

Copyright 2018+ Mikhail Che.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.