[#BloombergLP-bslstl-StdExceptUtil-logCheapStackTrace] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/StdExceptUtil.adoc[StdExceptUtil]::logCheapStackTrace :relfileprefix: ../../../ :mrdocs: Log "About to throw ", then the specified `exceptionName`, then the specified `message`, then log a cheap stack trace with warning severity. This function is intended as a candidate for setting to the pre‐throw hooks. Note that a far slower alternative to this, which logs a full, multi‐line stack trace with resolved symbols and, on many platforms, line numbers and source file names, is `balst::StackTracePrintUtil::logExceptionStackTrace`. == Synopsis Declared in `<bslstl_stdexceptutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void logCheapStackTrace( char const* exceptionName, char const* message); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#