[#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`&period; A suitably formatted &quot;cheap stack&quot; is included in the log message that identifies the call site where the failure occurred&period;

== Synopsis

Declared in `&lt;bsls&lowbar;review&period;h&gt;`

[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]#
