0

我可以使用 firepython 向 firebug 显示日志,

但是如何在本地主机的日志窗口中显示日志?

谢谢

4

1 回答 1

1

如果是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)

  .....

希望它有所帮助。

于 2010-05-19T10:41:04.710 回答