PHP Class Pop\Log\Writer\File

Author: Nick Sagona, III ([email protected])
Inheritance: implements Pop\Log\Writer\WriterInterface
Afficher le fichier Open project: nicksagona/PopPHP

Protected Properties

Свойство Type Description
$allowed array Array of allowed log file types.

Méthodes publiques

Méthode Description
__construct ( string $file, array $types = null ) : File Constructor
writeLog ( array $logEntry, array $options = [] ) : File Method to write to the log

Method Details

__construct() public méthode

Instantiate the file writer object.
public __construct ( string $file, array $types = null ) : File
$file string
$types array
Résultat File

writeLog() public méthode

Method to write to the log
public writeLog ( array $logEntry, array $options = [] ) : File
$logEntry array
$options array
Résultat File

Property Details

$allowed protected_oe property

Array of allowed log file types.
protected array $allowed
Résultat array