Property | Type | Description | |
---|---|---|---|
$allowed | array | Array of allowed log file types. |
Method | Description | |
---|---|---|
__construct ( string $file, array $types = null ) : |
Constructor | |
writeLog ( array $logEntry, array $options = [] ) : |
Method to write to the log |
public __construct ( string $file, array $types = null ) : |
||
$file | string | |
$types | array | |
return |
protected array $allowed | ||
return | array |