JLog::add
Method to add an entry to the log.
Signature
public function add(mixed
$entry,
[integer
$priority = self::INFO,
[string
$category = '',
[string
$date = null]]] )
Parameters
-
$entry
- The JLogEntry object to add to the log or the message for a new JLogEntry object.
-
$priority
- Message priority.
-
$category
- Type of entry
-
$date
- Date of entry (defaults to now if not specified or blank)
Returns
- void