Returns the source file base name where the log message occurred.

Synopsis

Declared in <absl/log/log_entry.h>

std::string_view
source_basename() const;

Description

Take special care not to use the returned value after the lifetime of the entry; copy it first if you need the data later.

Return Value

The source file base name.

Created with MrDocs