Registry / gcp / gax-google-logging-v2

gax-google-logging-v2

JSON →
library0.8.3pypypiunverified

This library provides a low-level, auto-generated client library (gRPC/HTTP) for the Google Cloud Logging API, generated from the googleapis protobuf definitions. Version 0.8.3 is the final release; it has been superseded by google-cloud-logging. No longer maintained.

pip install gax-google-logging-v2==0.8.3
INSTALL
IMPORT
SIG · GAX-GOOGLE-LOGGING
G
gax-google-logging-v2
gcppythonv0.8.3
Install
7.2s avg
Import
—
Disk
51MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.9–3.13
musl
3.9–3.13
Install & Compatibility
Where this runs
tested against v0.8.3 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 53MB
glibc
py 3.10–3.95 runs
installs and imports cleanly · install 7.2s · import 0.000s · 51MB
51MB installed
● package 51MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

LoggingServiceV2Client
✓ from google.cloud.logging_v2 import LoggingServiceV2Client
✗ from google.logging.v2 import LoggingServiceV2Client

Basic client instantiation and LogEntry creation. Note: this library does not support the write_log_entries RPC directly; it's a lower-level GAX library.

from google.logging.v2 import LoggingServiceV2Client from google.logging.v2.log_entry import LogEntry from google.logging.type import LogSeverity client = LoggingServiceV2Client() entry = LogEntry( log_name='projects/my-project/logs/test', resource={'type': 'global'}, severity=LogSeverity.INFO, text_payload='Hello, world!' ) # Writing via deprecated API - does not support write_log_entries directly # Use google-cloud-logging instead print('Client created successfully')
Debug
Known issues
deprecatedThis library is deprecated in favor of google-cloud-logging. Do not use for new projects.
fix
Use google-cloud-logging (pip install google-cloud-logging) instead.
affects: all
breakingThe package name on PyPI (gax-google-logging-v2) does not match the import path (google.logging.v2). Many users mistakenly attempt to import from gax_google_logging_v2.
fix
Use 'from google.logging.v2 import ...'.
affects: all
gotchaThis library only provides GAX (gRPC API eXtension) classes; it does not include any high-level client (like google.cloud.logging.Client). You must manually set up credentials, channels, and handle pagination.
fix
For a user-friendly client, use google-cloud-logging.
affects: all
deprecatedThe google.logging.v2.LoggingServiceV2Client's write_log_entries method may not exist in this library; it was part of a higher-level client. The GAX library exposes the RPC stubs but may require manual proto packaging.
fix
Use google-cloud-logging to write log entries, or manually call the generated stub with a properly constructed WriteLogEntriesRequest.
affects: 0.8.x
Upgrade
Version history
0.8.3latest on PyPI · released Sep 16, 2016
Audit
Dependencies

No dependency data recorded yet.

Agent activity
33 hits · last 30 days
node
30
OpenAI (training)
1
Resources
gax-google-logging-v2 — pip install gax-google-logging-v2 · libregistry