Sets the location the backtrace should be logged at.

Synopsis

Declared in <absl/log/globals.h>

void
SetLogBacktraceLocation(
    std::string_view file,
    int line);

Description

If the specified location isn't a LOG statement, the effect will be the same as ClearLogBacktraceLocation (but less efficient).

Parameters

Name

Description

file

The source file name of the LOG statement.

line

The source line number of the LOG statement.

Created with MrDocs