ISSUE: 无法创建命名日志
代码:
from google.cloud import logging
client = logging.Client()
# client = logging.Client.from_service_account_json('credentials.json')
logger1 = client.logger("my_new_log_1")
logger1.log_text("hello logger 1")
logger2 = client.logger("my_new_log_2")
logger2.log_text("hello logger 2")
错误:“模块”对象没有属性“信息”
此代码需要在 Google App Engine Standard 上运行