[#absl-SetLogBacktraceLocation]
= xref:absl.adoc[absl]::SetLogBacktraceLocation
:relfileprefix: ../
:mrdocs:

Sets the location the backtrace should be logged at&period;

== Synopsis

Declared in `&lt;absl&sol;log&sol;globals&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
SetLogBacktraceLocation(
    std::string&lowbar;view file,
    int line);
----

== Description

If the specified location isn&apos;t a `LOG` statement, the effect will be the same as `ClearLogBacktraceLocation` (but less efficient)&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *file*
| The source file name of the `LOG` statement&period;
| *line*
| The source line number of the `LOG` statement&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
