DBIx::Class::AuditLog - Simple activity audit logging for DBIx::Class
version 0.6.4
version 0.2.6
Returns the AuditLog schema from storage.
my $al_schema = $schmea->audit_log_schema;
Creates a new AuditLog Action for a specific type.
Requires: row: primary key of the table that is being audited action_type: action type, 1 of insert/update/delete
Store the column data that has changed
Requires: action: the action object that has associated changes old_values: the old values are being replaced new_values: the new values that are replacing the old table: dbic object of the audit_log_table object
Returns 1 or 0 if the column should be audited or not.
Requires: column: the name of the column/field to check
Returns 1 or 0 if the column should be audited even if its value did not change.
Returns 1 or 0 if the columns value should be modified before audit.
Modifies the colums audit-value. Dies if no modify-method could be found.
Returns: the modified value
Requires: column: the name of the column/field to check value: the original value
Mark Jubenville <ioncache@gmail.com>
Lukas Thiemeier <lukast@cpan.org>
Dimitar Petrov <dcpetrov@cpan.org>
This software is copyright (c) 2012 by Mark Jubenville.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Mark Jubenville <ioncache@cpan.org>
To install DBIx::Class::AuditLog, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::Class::AuditLog
CPAN shell
perl -MCPAN -e shell install DBIx::Class::AuditLog
For more information on module installation, please visit the detailed CPAN module installation guide.