PHP Class Kraken\Log\LoggerFactory

Mostrar archivo Open project: kraken-php/framework Class Usage Examples

Public Methods

Method 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 method

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[]
return Kraken\Log\Formatter\FormatterInterface

createHandler() public method

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[]
return Kraken\Log\Handler\HandlerInterface

createProcessor() public method

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