def add_entry(action, number, where): """Formatted statistics log entry so it can be processed for daily stats. The format is simple enough that it doesn't require a regexp for faster processing. """ stats_framework.add_entry('%s; %d; %s' % (_ACTION_NAMES[action], number, where))
def add_entry(action, number, where): """Formatted statistics log entry so it can be processed for daily stats. The format is simple enough that it doesn't require a regexp for faster processing. """ stats_framework.add_entry( '%s; %d; %s' % (_ACTION_NAMES[action], number, where))
def add_entry(**kwargs): """Formatted statistics log entry so it can be processed for statistics.""" stats_framework.add_entry(_pack_entry(**kwargs))
def get(self2): stats_framework.add_entry('Hello') self2.response.write('Yay')