PHP 클래스 Pop\Log\Writer\File

저자: Nick Sagona, III ([email protected])
상속: implements Pop\Log\Writer\WriterInterface
파일 보기 프로젝트 열기: nicksagona/PopPHP

보호된 프로퍼티들

프로퍼티 타입 설명
$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