Skip to content

Commit 0fb9c9c

Browse files
committed
Add php docblock for the logger option
1 parent 7b104e0 commit 0fb9c9c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

PubSub/src/PubSubClient.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,9 @@ class PubSubClient
184184
* See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and
185185
* {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the
186186
* supported options.
187+
* @type false|LoggerInterface $logger
188+
* A PSR-3 compliant logger. If set to false, logging is disabled, ignoring the
189+
* 'GOOGLE_SDK_PHP_LOGGING' environment flag
187190
* }
188191
* @throws \InvalidArgumentException
189192
*/

0 commit comments

Comments
 (0)