def list_entries(logger_name):
 logging_client = logging.Client()
 logger = logging_client.logger(logger_name)
 print 'Listing entries for logger {}:'.format(logger.name)
 for entry in logger.list_entries():
  timestamp = entry.timestamp.isoformat()
  print '* {}: {}'.format(timestamp, entry.payload)

def list_entries ( logger_name ) : logging_client = logging . Client ( ) logger = logging_client . logger ( logger_name ) print 'Listing entries for logger {}:' . format ( logger . name ) for entry in logger . list_entries ( ) : timestamp = entry . timestamp . isoformat ( ) print '* {}: {}' . format ( timestamp , entry . payload )
lists the most recent entries for a given logger .