PHP Class Neos\Flow\Log\LoggerFactory

Mostra file Open project: neos/flow-development-collection

Public Methods

Method Description
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).

Method Details

create() public method

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.
return Neos\Flow\Log\LoggerInterface The created logger frontend