easygcloud

Write a log entry to a named Cloud Logging log for testing or manual audit purposes

command

gcloud logging write LOG_NAME "MESSAGE"

also accepted

gcloud logging write

Command breakdown

Part of the Google Cloud CLI (gcloud) — Operations category.

gcloudloggingwriteLOG_NAME"MESSAGE"

Test your recall — not just your reading.

Practice with interactive quiz →