Google app engine 如何在google app engine';s日志窗口
我可以用Fireython向firebug显示日志 但是如何在本地主机的日志窗口中显示日志Google app engine 如何在google app engine';s日志窗口,google-app-engine,localhost,logging,show,Google App Engine,Localhost,Logging,Show,我可以用Fireython向firebug显示日志 但是如何在本地主机的日志窗口中显示日志 谢谢如果是python,您可以尝试以下方法: import logging class yourHandler(webapp.RequestHandler): ..... def get(self): ..... # place this anywhere you want GAE log to show up in console logging.info("So
谢谢如果是python,您可以尝试以下方法:
import logging
class yourHandler(webapp.RequestHandler):
.....
def get(self):
.....
# place this anywhere you want GAE log to show up in console
logging.info("Something happen here, the value is " + variable_name)
.....
希望能有帮助