PHP Класс Kraken\Log\LoggerFactory

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

createFormatter() публичный Метод

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[]
Результат Kraken\Log\Formatter\FormatterInterface

createHandler() публичный Метод

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[]
Результат Kraken\Log\Handler\HandlerInterface

createProcessor() публичный Метод

Create one of Monolog processors by specyfing it name of full class.
public createProcessor ( string $classOrName, mixed[] $args = [] ) : callable
$classOrName string
$args mixed[]
Результат callable