Skip to content

Instantly share code, notes, and snippets.

import logging
from googleapiclient.discovery import build
from oauth2client.client import GoogleCredentials
class CloudLoggingHandler(logging.Handler):
def __init__(self, project_id):
logging.Handler.__init__(self)
self.project_id = project_id