2010-05-19 26 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) 

    ..... 

希望這有助於。

相關問題