% include( '/elements/header.html', 'Developer Documentation' ) %> <& /elements/menubar.html, 'Freeside Perl Modules' => $fsurl.'docs/library/FS.html', 'Complete Index' => $fsurl.'docs/library/index.html', &>
FS::log - Object methods for log records
use FS::log;
$record = new FS::log \%hash;
$record = new FS::log { 'column' => 'value' };
$error = $record->insert;
$error = $new_record->replace($old_record);
$error = $record->delete;
$error = $record->check;
An FS::log object represents a log entry. FS::log inherits from FS::Record. The following fields are currently supported:
Creates a new log entry. Use FS::Log instead of calling this directly, please.
Adds this record to the database. If there is an error, returns the error, otherwise returns false.
CONTEXT may be a list of context tags to attach to this record.
Will send emails according to the conditions in FS::log_email.
Checks all fields to make sure this is a valid example. If there is an error, returns the error, otherwise returns false. Called by the insert and replace methods.
Returns the context for this log entry, as an array, from least to most specific.
Returns a qsearch hash expression to search for parameters specified in HASHREF. Valid parameters are:
FS::Record, schema.html from the base documentation.