Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以使用 firepython 向 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("Something happen here, the value is " + variable_name) .....
希望它有所帮助。