[#absl-SetLogBacktraceLocation] = xref:absl.adoc[absl]::SetLogBacktraceLocation :relfileprefix: ../ :mrdocs: Sets the location the backtrace should be logged at. == Synopsis Declared in `<absl/log/globals.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- 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 [cols="1,4"] |=== | Name| Description | *file* | The source file name of the `LOG` statement. | *line* | The source line number of the `LOG` statement. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#