def delete_logger(logger_name):
 logging_client = logging.Client()
 logger = logging_client.logger(logger_name)
 logger.delete()
 print 'Deleted all logging entries for {}'.format(logger.name)

def delete_logger ( logger_name ) : logging_client = logging . Client ( ) logger = logging_client . logger ( logger_name ) logger . delete ( ) print 'Deleted all logging entries for {}' . format ( logger . name )
deletes a logger and all its entries .