PHP Класс Pop\Log\Writer\File

Автор: Nick Sagona, III ([email protected])
Наследование: implements Pop\Log\Writer\WriterInterface
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$allowed array Array of allowed log file types.

Открытые методы

Метод Описание
__construct ( string $file, array $types = null ) : File Constructor
writeLog ( array $logEntry, array $options = [] ) : File Method to write to the log

Описание методов

__construct() публичный Метод

Instantiate the file writer object.
public __construct ( string $file, array $types = null ) : File
$file string
$types array
Результат File

writeLog() публичный Метод

Method to write to the log
public writeLog ( array $logEntry, array $options = [] ) : File
$logEntry array
$options array
Результат File

Описание свойств

$allowed защищенное свойство

Array of allowed log file types.
protected array $allowed
Результат array