[#CaptureMessage]
= CaptureMessage
:mrdocs:

Defaults to `CaptureMessageToFile()`, but can be overridden by unit tests&period;

== Synopsis

Declared in `&lt;net&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
extern
std::function&lt;void(xref:CAddress.adoc[CAddress] const&, std::string const&, std::span&lt;unsigned char const&gt;, bool)&gt; CaptureMessage;
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
