mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-20 20:49:50 +01:00
-BEGIN VERIFY SCRIPT- sed -i 's/\<LogPrint\>/LogDebug/g' $( git grep -l '\<LogPrint\>' -- ./contrib/ ./src/ ./test/ ':(exclude)src/logging.h' ) -END VERIFY SCRIPT-
17 lines
415 B
C++
17 lines
415 B
C++
// Copyright (c) 2014-2022 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));
|
|
}
|