JLog::addLogger
Add a logger to the JLog instance. Loggers route log entries to the correct files/systems to be logged.
Signature
public function addLogger(array
$options,
[integer
$priorities = self::ALL,
[array
$categories = false,
[boolean
$exclude = false]]] )
Parameters
-
$options
- The object configuration array.
-
$priorities
- Message priority
-
$categories
- Types of entry
-
$exclude
- If true, all categories will be logged except those in the $categories array
Returns
- void