We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dde25e commit 93f0e5cCopy full SHA for 93f0e5c
README.rst
@@ -1,7 +1,7 @@
1
Python Client for Stackdriver Logging
2
=====================================
3
4
-|pypi| |versions|
+|pypi| |versions|
5
6
`Stackdriver Logging API`_: Writes log entries and manages your Stackdriver
7
Logging configuration.
@@ -84,7 +84,9 @@ Using the API
84
from google.cloud import logging_v2
85
86
client = logging_v2.LoggingServiceV2Client()
87
- entries = []
+ e = logging_v2.types.LogEntry(
88
+ text_payload="text")
89
+ entries = [e]
90
response = client.write_log_entries(entries)
91
92
.. code:: python
0 commit comments