• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

google/H02-Nov-2021-20,28215,243

google_cloud_logging.egg-info/H03-May-2022-11182

tests/H02-Nov-2021-19,45214,119

LICENSEH A D02-Nov-202111.1 KiB203169

MANIFEST.inH A D02-Nov-2021860 2623

PKG-INFOH A D02-Nov-20213.6 KiB11182

README.rstH A D02-Nov-20212.8 KiB8761

setup.cfgH A D02-Nov-202167 85

setup.pyH A D02-Nov-20213.1 KiB9856

README.rst

1Python Client for Cloud Logging
2=====================================
3
4|pypi| |versions|
5
6`Cloud Logging API`_: Writes log entries and manages your Cloud
7Logging configuration.
8
9- `Client Library Documentation`_
10- `Product Documentation`_
11
12.. |pypi| image:: https://img.shields.io/pypi/v/google-cloud-logging.svg
13   :target: https://pypi.org/project/google-cloud-logging/
14.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-logging.svg
15   :target: https://pypi.org/project/google-cloud-logging/
16.. _Cloud Logging API: https://cloud.google.com/logging
17.. _Client Library Documentation: https://googleapis.dev/python/logging/latest
18.. _Product Documentation:  https://cloud.google.com/logging/docs
19.. _Setting Up Cloud Logging for Python: https://cloud.google.com/logging/docs/setup/python
20.. _Python's standard logging library: https://docs.python.org/2/library/logging.html
21
22Quick Start
23-----------
24
25In order to use this library, you first need to go through the following steps:
26
271. `Select or create a Cloud Platform project.`_
282. `Enable billing for your project.`_
293. `Enable the Cloud Logging API.`_
304. `Setup Authentication.`_
31
32.. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project
33.. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
34.. _Enable the Cloud Logging API.:  https://cloud.google.com/logging
35.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html
36
37Installation
38~~~~~~~~~~~~
39
40Install this library in a `venv`_ using pip. `venv`_ is a tool to
41create isolated Python environments. The basic problem it addresses is one of
42dependencies and versions, and indirectly permissions.
43
44With `venv`_, it's possible to install this library without needing system
45install permissions, and without clashing with the installed system
46dependencies.
47
48.. _`venv`: https://docs.python.org/3/library/venv.html
49
50
51Supported Python Versions
52^^^^^^^^^^^^^^^^^^^^^^^^^
53Python >= 3.6
54
55Unsupported Python Versions
56^^^^^^^^^^^^^^^^^^^^^^^^^^^
57Python == 2.7. The last version of the library compatible with Python 2.7 is `google-cloud-logging==1.15.1`.
58
59
60Mac/Linux
61^^^^^^^^^
62
63.. code-block:: console
64
65    python -m venv <your-env>
66    source <your-env>/bin/activate
67    <your-env>/bin/pip install google-cloud-logging
68
69
70Windows
71^^^^^^^
72
73.. code-block:: console
74
75    python -m venv <your-env>
76    <your-env>\Scripts\activate
77    <your-env>\Scripts\pip.exe install google-cloud-logging
78
79Next Steps
80~~~~~~~~~~
81
82-  Read the `Setting Up Cloud Logging for Python`_ How-to Guide
83-  Read the `Product documentation`_ to learn more about the product and see
84   other How-to Guides.
85-  Read the `Client Library Documentation`_ for to see other available
86   methods on the client.
87