Using the Stackdriver Logging API
Set up the Logging API and client libraries.
Writing and managing logs
Use the Logging API to read and write log entries, and to manage logs.
Use suggested queries to make it easier to find important logs.
Use the Logging API to export logs.