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 |