PHP 클래스 Google\Cloud\Tests\Logging\PsrLoggerTest

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: GoogleCloudPlatform/gcloud-php

공개 프로퍼티들

프로퍼티 타입 설명
$connection
$formattedName
$logName
$projectId
$resource
$severity
$textPayload

공개 메소드들

메소드 설명
getPsrLogger ( $connection, array $resource = null, array $labels = null, $messageKey = 'message' )
levelProvider ( )
setUp ( )
testLogAppendsExceptionWhenPassedThroughAsContext ( )
testLogThrowsExceptionWithInvalidLevel ( )
testOverridePsrLoggerDefaults ( )
testPsrLoggerUsesDefaults ( )
testUsesCustomMessageKey ( )
testWritesEntry ( )
testWritesEntryWithDefinedLevels ( $level )

메소드 상세

getPsrLogger() 공개 메소드

public getPsrLogger ( $connection, array $resource = null, array $labels = null, $messageKey = 'message' )
$resource array
$labels array

levelProvider() 공개 메소드

public levelProvider ( )

setUp() 공개 메소드

public setUp ( )

testLogAppendsExceptionWhenPassedThroughAsContext() 공개 메소드

testLogThrowsExceptionWithInvalidLevel() 공개 메소드

testOverridePsrLoggerDefaults() 공개 메소드

testPsrLoggerUsesDefaults() 공개 메소드

testUsesCustomMessageKey() 공개 메소드

testWritesEntry() 공개 메소드

public testWritesEntry ( )

testWritesEntryWithDefinedLevels() 공개 메소드

프로퍼티 상세

$connection 공개적으로 프로퍼티

public $connection

$formattedName 공개적으로 프로퍼티

public $formattedName

$logName 공개적으로 프로퍼티

public $logName

$projectId 공개적으로 프로퍼티

public $projectId

$resource 공개적으로 프로퍼티

public $resource

$severity 공개적으로 프로퍼티

public $severity

$textPayload 공개적으로 프로퍼티

public $textPayload