Logging libraries overview

Many programming languages have standard log-writing interfaces that you can reconfigure to use Logging.

Write logs

To write logs to Cloud Logging, you can do any of the following:

Associate trace data with log entries

Log entries can contain information about traces. By including trace data in log entries, you can correlate logs and traces to enable better distributed troubleshooting. For information about manual and automatic capture of trace information in log entries, see Integrate with Cloud Logging.

Read logs

To read log entries in Logging, you can do any of the following: