PHP 클래스 Neos\Flow\Log\LoggerFactory

파일 보기 프로젝트 열기: neos/flow-development-collection

공개 메소드들

메소드 설명
create ( string $identifier, string $loggerObjectName, mixed $backendObjectNames, array $backendOptions = [] ) : Neos\Flow\Log\LoggerInterface Factory method which creates the specified logger along with the specified backend(s).

메소드 상세

create() 공개 메소드

Factory method which creates the specified logger along with the specified backend(s).
public create ( string $identifier, string $loggerObjectName, mixed $backendObjectNames, array $backendOptions = [] ) : Neos\Flow\Log\LoggerInterface
$identifier string An identifier for the logger
$loggerObjectName string Object name of the log frontend
$backendObjectNames mixed Object name (or array of object names) of the log backend(s)
$backendOptions array (optional) Array of backend options. If more than one backend is specified, this is an array of array.
리턴 Neos\Flow\Log\LoggerInterface The created logger frontend