[#SourceLocation] = SourceLocation :mrdocs: Like std::source_location, but allowing to override the function name. == Synopsis Declared in `<util/log.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class SourceLocation; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:SourceLocation/2constructor.adoc[`SourceLocation`] [.small]#[constructor]# | Construct from a function name and a source location. The func argument must be constructed from the C++11 *func* macro. Ref: https://en.cppreference.com/w/cpp/language/function.html#func Non‐static string literals are not supported. | xref:SourceLocation/file_name.adoc[`file_name`] | Return the file name of the source location. | xref:SourceLocation/function_name_short.adoc[`function_name_short`] | Return the overriding function name. | xref:SourceLocation/line.adoc[`line`] | Return the line number of the source location. |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:util/log/LogPrintFormatInternal-03.adoc[`util::log::LogPrintFormatInternal`] | Format and log a message with rate limiting enabled. | xref:util/log/LogPrintFormatInternal-04.adoc[`util::log::LogPrintFormatInternal`] | Format and log a message with rate limiting disabled. | xref:util/log/LogPrintFormatInternal_.adoc[`util::log::LogPrintFormatInternal_`] | Format a log message and forward it to util::log::Log. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#