Skip to content

Conversation

@tseaver
Copy link
Contributor

@tseaver tseaver commented Dec 3, 2018

Supersedes #6236.

Defaults to 'None', passed to stdlib's 'logging.StreamHandler'.

Add assertions for constructor variations.
Defaults to 'None', passed to stdlib's 'logging.StreamHandler'.

Add assertions for constructor variations.
'name' defaults to 'None', passed to stdlib's 'logging.StreamHandler'.

'stream' defaults to 'None', passed to stdlib's 'logging.StreamHandler'.

Add assertions for constructor variations.
Plumb them through to the underlying handler constructor.

Closes #6206.
@tseaver tseaver added the api: logging Issues related to the Cloud Logging API. label Dec 3, 2018
@tseaver tseaver requested a review from crwilcox December 3, 2018 18:36
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Dec 3, 2018
@tseaver
Copy link
Contributor Author

tseaver commented Dec 3, 2018

@theacodes, @crwilcox: I don't understand the Kokoro error message for the failed Security Scanner build:

[10:41:02][ERROR] Cannot check out non-mergeable pull request as if merged

@tseaver tseaver requested a review from mcdonc December 12, 2018 22:14
@tseaver tseaver merged commit aee5cec into googleapis:master Dec 14, 2018
@tseaver tseaver deleted the 6206-logging-name_for_default_handler-post_blacken branch December 14, 2018 17:10
parthea pushed a commit that referenced this pull request Nov 24, 2025
…6828)

- Expose 'stream' argument to handler constructors.

  Defaults to 'None', passed to stdlib's 'logging.StreamHandler'.

- Expose 'name' argument to 'ContainerEngineHandler'.

* Add '**kw' to 'Client.{get_default_handler,setup_logging}'.

  Plumb them through to the underlying handler constructor.

Closes #6206.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: logging Issues related to the Cloud Logging API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants