Skip to main content

GCP Cloud logger

Package for Google Cloud Logging client


Install

pip install gcp-cloud-logger

Usage

from gcp_cloud_logger import cloud_logger as logger

# Default use GOOGLE_APPLICATION_CREDENTIALS to get credential.json path
logger.setup(
    name="logger_name",
    credential_path="/your/service/account/json",
)
# OR
logger.setup(
    name="logger_name",
    credential_json="{}",
)

# Info
logger.info("Test info log message")

# Warning
logger.warn("Test warning log message")

# Error
logger.error("Test error log message")

# Critical
logger.critical("Test critical log message")

Result

Result log

Metadata

Release files for gcp-cloud-logger 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gcp-cloud-logger 0.2.4
File Size Uploaded Provenance Actions
gcp-cloud-logger-0.2.4.tar.gz 3.6 kB Without provenance Details for gcp-cloud-logger-0.2.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gcp-cloud-logger 0.2.4
File Interpreter ABI Platform Actions
gcp_cloud_logger-0.2.4-py3-none-any.whl Python 3 none any Details for gcp_cloud_logger-0.2.4-py3-none-any.whl

Total release size: 7.5 kB

Release files / gcp-cloud-logger-0.2.4.tar.gz

Download URL gcp-cloud-logger-0.2.4.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c40c81b798430f284a5f647eceeffbc46f29304c3cfea04b56a21e0588ca1193
BLAKE2b-256 checksum
How to use checksums
3d3fd2004d90742618cd108b814be897f041c24023c7e776f8e9f5febcf3f171
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

Release files / gcp_cloud_logger-0.2.4-py3-none-any.whl

Download URL gcp_cloud_logger-0.2.4-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
84637f5905ea9dfaeb664602e68fd6284ea88daf371b5983c5bd5f64dc7c08b5
BLAKE2b-256 checksum
How to use checksums
f52b6867a9c97579aa67db4065fb71a41a0a9e24ca09ab302309963ef08c398c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

Security for gcp-cloud-logger 0.2.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page