Parameters

at line 325

public
delete(string $mode, array $conditions = array())

Delete entries in the logs

Parameters

string

$mode

The mode defines which log_type is used and from which log the entries are deleted

array

$conditions

An array of conditions, 3 different forms are accepted 1) => transformed into 'AND = ' (value should be an integer) 2) => array(, ) transformed into 'AND ' (values can't be an array) 3) => array('IN' => array()) transformed into 'AND IN ' A special field, keywords, can also be defined. In this case only the log entries that have the keywords in logoperation or logdata will be deleted.