Skip to content

Add 'Logger.log_text' method. - #1567

Merged
tseaver merged 1 commit into
googleapis:logging-apifrom
tseaver:logging-logger_log_text
Mar 9, 2016
Merged

Add 'Logger.log_text' method.#1567
tseaver merged 1 commit into
googleapis:logging-apifrom
tseaver:logging-logger_log_text

Conversation

@tseaver

Copy link
Copy Markdown
Contributor

Doesn't yet expose any of the optional parameters (see #1566).

@tseavertseaver added the api: logging Issues related to the Cloud Logging API. label Mar 3, 2016
@googlebotgooglebot added the cla: yes This human has signed the Contributor License Agreement. label Mar 3, 2016
@tseavertseaver mentioned this pull request Mar 3, 2016
@tseaver

Copy link
Copy Markdown
ContributorAuthor

@dhermes PTAL. I will rebase #1568 and assign to you after this one lands.

"""Fully-qualified name used in logging APIs"""
return 'projects/%s/logs/%s' % (self.project, self.name)

def _require_client(self, client):

This comment was marked as spam.

This comment was marked as spam.

@dhermes

Copy link
Copy Markdown
Contributor

Done with review.

@tseaver

Copy link
Copy Markdown
ContributorAuthor

Is that an LGTM?

@dhermes

Copy link
Copy Markdown
Contributor

Nope

@tseaver

Copy link
Copy Markdown
ContributorAuthor

What issue remains, besides _require_client, which we use all over the place?

@tseaver

Copy link
Copy Markdown
ContributorAuthor
$ git grep -l _require_client
gcloud/bigquery/dataset.py
gcloud/bigquery/job.py
gcloud/bigquery/query.py
gcloud/bigquery/table.py
gcloud/dns/changes.py
gcloud/dns/zone.py
gcloud/pubsub/subscription.py
gcloud/pubsub/topic.py
gcloud/resource_manager/project.py
gcloud/search/document.py
gcloud/storage/_helpers.py
gcloud/storage/acl.py
gcloud/storage/blob.py
gcloud/storage/bucket.py

@dhermes

Copy link
Copy Markdown
Contributor

LGTM. Sorry for the hold up, I was very distracted at that moment so didn't want to jump the gun.

tseaver added a commit that referenced this pull request Mar 9, 2016
@tseaver
tseaver merged commit b04eaa6 into googleapis:logging-apiMar 9, 2016
@tseaver
tseaver deleted the logging-logger_log_text branch March 9, 2016 00:55
@tseaver

Copy link
Copy Markdown
ContributorAuthor

No worries!

@dhermesdhermes mentioned this pull request Apr 1, 2016
atulep pushed a commit that referenced this pull request Apr 6, 2023
…orm/python-docs-samples#1567)
* Added the sample for Word Level Confidence
* Added the extra line
* Added parameter comment
* Removed the line with blank space
atulep pushed a commit that referenced this pull request Apr 6, 2023
…orm/python-docs-samples#1567)
* Added the sample for Word Level Confidence
* Added the extra line
* Added parameter comment
* Removed the line with blank space
atulep pushed a commit that referenced this pull request Apr 18, 2023
…orm/python-docs-samples#1567)
* Added the sample for Word Level Confidence
* Added the extra line
* Added parameter comment
* Removed the line with blank space
parthea pushed a commit that referenced this pull request Oct 22, 2023
…orm/python-docs-samples#1567)
* Added the sample for Word Level Confidence
* Added the extra line
* Added parameter comment
* Removed the line with blank space
parthea pushed a commit that referenced this pull request Mar 2, 2026
PR created by the Librarian CLI to initialize a release. Merging this PR
will auto trigger a release.
Librarian Version: v0.7.0
Language Image:
us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:b8058df4c45e9a6e07f6b4d65b458d0d059241dd34c814f151c8bf6b89211209
<details><summary>google-cloud-pubsub: 2.34.0</summary>
##
[2.34.0](googleapis/python-pubsub@v2.33.0...v2.34.0)
(2025-12-16)
### Features
* support mTLS certificates when available (#1566)
([24761a2f](googleapis/python-pubsub@24761a2f))
</details>
parthea pushed a commit that referenced this pull request Mar 6, 2026
* fix: filter None values from OpenTelemetry attributes
* moved filtering out before return value
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: loggingIssues related to the Cloud Logging API.cla: yesThis human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@tseaver@dhermes@googlebot