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

NAME

DBIx::Class::AuditLog - Simple activity audit logging for DBIx::Class

VERSION

version 0.2.4

DBIx::Class OVERRIDDEN METHODS

insert

update

delete

HELPER METHODS

_audit_log_schema

Returns the AuditLog schema from storage.

    my $al_schema = $schmea->audit_log_schema;

_action_setup

Creates a new AuditLog Action for a specific type.

Requires: row: primary key of the table that is being audited type: action type, 1 of insert/update/delete

_store_changes

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

_do_audit

Returns 1 or 0 if the column should be audited or not.

Requires: column: the name of the column/field to check

AUTHOR

Mark Jubenville <ioncache@gmail.com>

COPYRIGHT AND LICENSE

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.