[#absl-LogEntry-tid] = xref:absl.adoc[absl]::xref:absl/LogEntry.adoc[LogEntry]::tid :relfileprefix: ../../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:absl/LogEntry/tid_t.adoc[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. [.small]#Created with https://www.mrdocs.com[MrDocs]#