From the Google Docs: https://cloud.google.com/logging/docs/install/compute_install#enable_the_google_cloud_logging_api
You must enable the Google Cloud Logging API for your project:
Navigate to the Developers Console UI and select your project
Select APIs & auth > APIs in the sidebar on the left.
Type "logging" in the search box under Browse APIs
Toggle the status button from OFF to ON to enable the Google Cloud Logging API.
When I go to my API console I don't see any option related to Google Cloud Logging API. If I try to write to my logs from a GCE instance gcloud preview logging write test hello, I get a 403 error:
ERROR: (gcloud.preview.logging.write) ResponseError: status=403, code=Forbidden, message=Project has not enabled the API. Please use Google Developers Console to activate the API for your project.
This instance does have write permission for Cloud Logging.
How am I supposed to enable the Cloud Logging API?