Bitcoin Core
28.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
src
zmq
zmqutil.cpp
Go to the documentation of this file.
1
// Copyright (c) 2014-2022 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 <zmq.h>
9
10
#include <cerrno>
11
#include <string>
12
13
void
zmqError
(
const
std::string& str)
14
{
15
LogPrint
(
BCLog::ZMQ
,
"Error: %s, msg: %s\n"
, str, zmq_strerror(errno));
16
}
LogPrint
#define LogPrint(category,...)
Definition
logging.h:293
BCLog::ZMQ
@ ZMQ
Definition
logging.h:47
zmqError
void zmqError(const std::string &str)
Definition
zmqutil.cpp:13
zmqutil.h
Generated on Thu Oct 3 2024 09:20:15 for Bitcoin Core by
1.12.0