2010-05-19 65 views

回答

1

你可以试试这个,如果它是蟒蛇:

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) 

    ..... 

希望这有助于。

相关问题