Esempio n. 1
0
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))
Esempio n. 2
0
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))
Esempio n. 3
0
def add_entry(**kwargs):
  """Formatted statistics log entry so it can be processed for statistics."""
  stats_framework.add_entry(_pack_entry(**kwargs))
Esempio n. 4
0
 def get(self2):
   stats_framework.add_entry('Hello')
   self2.response.write('Yay')
Esempio n. 5
0
 def get(self2):
     stats_framework.add_entry('Hello')
     self2.response.write('Yay')
Esempio n. 6
0
def add_entry(**kwargs):
    """Formatted statistics log entry so it can be processed for statistics."""
    stats_framework.add_entry(_pack_entry(**kwargs))