Created
February 17, 2020 16:35
-
-
Save bgweber/8e7ceafe3ad14208011eaa8b262af0a1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# connect to the monitoring service | |
from google.cloud import logging | |
logging_client = logging.Client(project = 'serving-268422', credentials = credentials) | |
logger = logging_client.logger('model_service') | |
# log a message to stack driver | |
logger.log_text('Hello World!') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment