Bitcoin Core
30.99.0
P2P Digital Currency
src
zmq
zmqutil.cpp
Go to the documentation of this file.
1
// Copyright (c) 2014-present The Bitcoin Core developers
2
// Distributed under the MIT software license, see the accompanying
3
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
5
#include <
zmq/zmqutil.h
>
6
7
#include <logging.h>
8
#include <
util/check.h
>
9
10
#include <zmq.h>
11
12
#include <cerrno>
13
#include <string>
14
15
void
zmqError
(
const
std::string& str)
16
{
17
LogDebug
(
BCLog::ZMQ
,
"Error: %s, msg: %s\n"
, str, zmq_strerror(errno));
18
}
check.h
LogDebug
#define LogDebug(category,...)
Definition:
log.h:115
BCLog::ZMQ
@ ZMQ
Definition:
categories.h:21
zmqError
void zmqError(const std::string &str)
Definition:
zmqutil.cpp:15
zmqutil.h
Generated on Sun Feb 15 2026 20:00:32 for Bitcoin Core by
1.9.4