Property | Type | Description | |
---|---|---|---|
$logger | Psr\Log\LoggerInterface | ||
$loggerLevel | string |
Method | Description | |
---|---|---|
__construct ( Psr\Log\LoggerInterface $logger, string $loggerLevel = LogLevel::INFO, MetaborStd\StringConverterInterface $stringConverter = null ) | ||
update ( SplSubject $stateMachine ) |
Method | Description | |
---|---|---|
createLoggerContext ( MetaborStd\Statemachine\StatemachineInterface $stateMachine ) : array | ||
createLoggerMessage ( array $context ) : string |
public __construct ( Psr\Log\LoggerInterface $logger, string $loggerLevel = LogLevel::INFO, MetaborStd\StringConverterInterface $stringConverter = null ) | ||
$logger | Psr\Log\LoggerInterface | |
$loggerLevel | string | |
$stringConverter | MetaborStd\StringConverterInterface |
protected createLoggerContext ( MetaborStd\Statemachine\StatemachineInterface $stateMachine ) : array | ||
$stateMachine | MetaborStd\Statemachine\StatemachineInterface | |
return | array |
protected createLoggerMessage ( array $context ) : string | ||
$context | array | |
return | string |
protected LoggerInterface,Psr\Log $logger | ||
return | Psr\Log\LoggerInterface |