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