PHP Class Kraken\Log\LoggerFactory

Afficher le fichier Open project: kraken-php/framework Class Usage Examples

Méthodes publiques

Méthode Description
createFormatter ( string $classOrName, mixed[] $args = [] ) : Kraken\Log\Formatter\FormatterInterface Create one of Monolog formatters by specyfing it name of full class.
createHandler ( string $classOrName, mixed[] $args = [] ) : Kraken\Log\Handler\HandlerInterface Create one of Monolog handlers by specifying it name or full class.
createProcessor ( string $classOrName, mixed[] $args = [] ) : callable Create one of Monolog processors by specyfing it name of full class.

Method Details

createFormatter() public méthode

Create one of Monolog formatters by specyfing it name of full class.
public createFormatter ( string $classOrName, mixed[] $args = [] ) : Kraken\Log\Formatter\FormatterInterface
$classOrName string
$args mixed[]
Résultat Kraken\Log\Formatter\FormatterInterface

createHandler() public méthode

Create one of Monolog handlers by specifying it name or full class.
public createHandler ( string $classOrName, mixed[] $args = [] ) : Kraken\Log\Handler\HandlerInterface
$classOrName string
$args mixed[]
Résultat Kraken\Log\Handler\HandlerInterface

createProcessor() public méthode

Create one of Monolog processors by specyfing it name of full class.
public createProcessor ( string $classOrName, mixed[] $args = [] ) : callable
$classOrName string
$args mixed[]
Résultat callable