PHP 클래스 Kraken\Log\LoggerFactory

파일 보기 프로젝트 열기: kraken-php/framework 1 사용 예제들

공개 메소드들

메소드 설명
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