MultiplexedSocket: add logger argument
Change-Id: I1c872351cf3f0e519595ab8d734db2841d7d2218
diff --git a/include/multiplexed_socket.h b/include/multiplexed_socket.h
index a090a8c..e265db9 100644
--- a/include/multiplexed_socket.h
+++ b/include/multiplexed_socket.h
@@ -79,7 +79,7 @@
class MultiplexedSocket : public std::enable_shared_from_this<MultiplexedSocket>
{
public:
- MultiplexedSocket(std::shared_ptr<asio::io_context> ctx, const DeviceId& deviceId, std::unique_ptr<TlsSocketEndpoint> endpoint);
+ MultiplexedSocket(std::shared_ptr<asio::io_context> ctx, const DeviceId& deviceId, std::unique_ptr<TlsSocketEndpoint> endpoint, std::shared_ptr<dht::log::Logger> logger = {});
~MultiplexedSocket();
std::shared_ptr<ChannelSocket> addChannel(const std::string& name);