I am using Client Library.
for entry in logging_client.list_entries(order_by=DESCENDING, filter_=FILTER, page_size=1):
timestamp = entry.timestamp.isoformat()
print('****{}'.format(entry.payload_pb))
print (entry.payload_pb)
print('* {}: {}: {}'.format(timestamp, entry.logger.name, entry.insert_id))
But payload_pb
, has just two attributes: value
and type_url
.
And otherwise I can fetch just a few values like timestamp
, logName
, insertId
.
I want to fetch the values inside 'protopayload
'. Please suggest a way!