[#btck-Logger] = xref:btck.adoc[btck]::Logger :relfileprefix: ../ :mrdocs: Connects a user log sink of type `T` to the kernel logging system. == Synopsis Declared in `<kernel/bitcoinkernel_wrapper.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<xref:btck/Log.adoc[Log] T> class Logger; ---- == Description Owns the `btck_LoggingConnection` and routes kernel log lines to the sink's `LogMessage` method for the connection's lifetime. == Member Functions [cols="1,4"] |=== | Name| Description | xref:btck/Logger/2constructor.adoc[`Logger`] [.small]#[constructor]# | Registers `log` as the destination for kernel log messages. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#