PHP Class fXmlRpc\Timing\Psr3TimerBridge

Inheritance: extends AbstractTimerBridge
Datei anzeigen Open project: lstrojny/fxmlrpc Class Usage Examples

Public Methods

Method Description
__construct ( Psr\Log\LoggerInterface $logger, integer $level = null, string $messageTemplate = null ) Create new bridge or a PSR-3 compatible logger
recordTiming ( $callTime, $method, array $arguments )

Method Details

__construct() public method

Allows passing custom log level and message template (with sprintf() control characters) for log message customization
public __construct ( Psr\Log\LoggerInterface $logger, integer $level = null, string $messageTemplate = null )
$logger Psr\Log\LoggerInterface
$level integer
$messageTemplate string

recordTiming() public method

public recordTiming ( $callTime, $method, array $arguments )
$arguments array