GAE - Python 3.7 - How to log?
问题 I have a google app engine project in python 3.7 in which I would like to write some logs. I am used to program in app engine python 2.7 and I was using the simple code: logging.info('hi there!') to write any log onto the google cloud log console. That command above now doesn't work anymore and it says: logging has no attribute 'info' I searched and I found this possible new code from flask import Flask from google.cloud import logging app = Flask(__name__) @app.route('/l') def hello():