Function logAction
This function logs an action in the respective log. (database log)
You should use logActions()
instead.
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Example: logAction('remove', array('starter' => $id_member_started));
Located at Sources/Logging.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Example: logAction('remove', array('starter' => $id_member_started));
Located at Sources/Logging.php
string |
$action |
The action to log |
array |
$extra = array() |
= array() An array of additional data |
string |
$log_type = 'moderate' |
What type of log ('admin', 'moderate', etc.) |
integer
|
The ID of the row containing the logged data |