Files
bitcoin/src/zmq/zmqutil.cpp
Anthony Towns 57d7495fe5 IWYU fixes
Add missing includes of logging.h in preparation for the next commit,
switching to util/log.h. Also removes some unnecessary util/check.h
includes that CI complains about.
2026-05-16 03:36:51 +10:00

18 lines
419 B
C++

// Copyright (c) 2014-present The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <zmq/zmqutil.h>
#include <logging.h>
#include <zmq.h>
#include <cerrno>
#include <string>
void zmqError(const std::string& str)
{
LogDebug(BCLog::ZMQ, "Error: %s, msg: %s\n", str, zmq_strerror(errno));
}