Returns the ID of the thread that wrote this entry. Captured during evaluation of LOG, but can be overridden by LOG(...).WithThreadID(...).

Synopsis

Declared in <absl/log/log_entry.h>

tid_t
tid() const;

Description

Take care not to rely on reported thread IDs as they can be overridden as specified above.

Return Value

The ID of the thread that wrote this entry.

Created with MrDocs