[#btck-Logger-2constructor]
= xref:btck.adoc[btck]::xref:btck/Logger.adoc[Logger]::Logger
:relfileprefix: ../../
:mrdocs:

Registers `log` as the destination for kernel log messages&period;

== Synopsis

Declared in `&lt;kernel&sol;bitcoinkernel&lowbar;wrapper&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
Logger(std::unique&lowbar;ptr&lt;T&gt; log);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *log*
| The log sink to take ownership of&period;
|===


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