[#BloombergLP-bsls-Review-failByLog] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/Review.adoc[Review]::failByLog :relfileprefix: ../../../ :mrdocs: Log a message to `stdout` that an assertion has failed with information on the failure from the specified `violation`. A suitably formatted "cheap stack" is included in the log message that identifies the call site where the failure occurred. == Synopsis Declared in `<bsls_review.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void failByLog(xref:BloombergLP/bsls/ReviewViolation.adoc[ReviewViolation] const& violation); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#