google-cloud-logging 0.21.0
pip install google-cloud-logging==0.21.0
Released:
Python Client for Stackdriver Logging
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: Apache Software License (Apache 2.0)
- Author: Google Cloud Platform
Classifiers
- Development Status
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Project description
Python idiomatic client for Stackdriver Logging
Quick Start
$ pip install --upgrade google-cloud-logging
Authentication
With google-cloud-python we try to make authentication as painless as possible. Check out the Authentication section in our documentation to learn more. You may also find the authentication document shared by all the google-cloud-* libraries to be helpful.
Using the API
Stackdriver Logging API (Logging API docs) allows you to store, search, analyze, monitor, and alert on log data and events from Google Cloud Platform.
from google.cloud import logging
client = logging.Client()
logger = client.logger('log_name')
logger.log_text('A simple entry') # API call
Example of fetching entries:
for entry in logger.list_entries():
print(entry.payload)
See the google-cloud-python API logging documentation to learn how to connect to Stackdriver Logging using this Client Library.
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: Apache Software License (Apache 2.0)
- Author: Google Cloud Platform
Classifiers
- Development Status
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file google-cloud-logging-0.21.0.tar.gz
.
File metadata
- Download URL: google-cloud-logging-0.21.0.tar.gz
- Upload date:
- Size: 35.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
e8d3e231f4599e1a084191308fd3d518ba91fa3b530762ea4dba18c87a1fe03c
|
|
MD5 |
4e1a0b15192a5a8bd2b956dc2317f672
|
|
BLAKE2b-256 |
ddb13e66ab3218ba27e0c1c96dae30c35eabae4e64ff71f5b4b2d8459135f2bc
|
File details
Details for the file google_cloud_logging-0.21.0-py2.py3-none-any.whl
.
File metadata
- Download URL: google_cloud_logging-0.21.0-py2.py3-none-any.whl
- Upload date:
- Size: 62.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
b0d1e3d58b111c72c3bb9cbe4ef2d2b24e988d262e169de7101689dcf095c837
|
|
MD5 |
984ca273716c10557f2b5c3333b5c829
|
|
BLAKE2b-256 |
e95e1570be53735c32712f299dfab4a9f6e11a1f5a9dcc41131e4ccc1d01bf3b
|