PHP Class Neos\Flow\Log\LoggerFactory

Afficher le fichier Open project: neos/flow-development-collection

Méthodes publiques

Méthode 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 méthode

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