Google\Cloud\Tests\Logging\PsrLoggerTest::getPsrLogger PHP Метод

getPsrLogger() публичный Метод

public getPsrLogger ( $connection, array $resource = null, array $labels = null, $messageKey = 'message' )
$resource array
$labels array
    public function getPsrLogger($connection, array $resource = null, array $labels = null, $messageKey = 'message')
    {
        $logger = new Logger($connection->reveal(), $this->logName, $this->projectId, $resource, $labels);
        return new PsrLogger($logger, $messageKey);
    }