C4::Log - Koha Log Facility functions
The functions in this module perform various functions in order to log all the operations done on the Database, including deleting and undeleting books, adding/editing members, etc.
&logaction($modulename, $actionname, $objectnumber, $infos, $interface);
Adds a record into action_logs table to report the different changes upon the database. Each log entry includes the number of the user currently logged in. For batch jobs, which operate without authenticating a user and setting up a session, the user number is set to 0, which is the same as the superlibrarian's number.
Convenience routine to add a record into action_logs table from a cron job. Logs the path and name of the calling script plus the information privided by param $infos.
$logs = GetLogs($datefrom,$dateto,$user,\@modules,$action,$object,$info);
$logs is a ref to a hash which contains all columns from action_logs
Koha Development Team <http://koha-community.org/>