LCOV - code coverage report
Current view: top level - src/zmq - zmqutil.cpp (source / functions) Coverage Total Hit
Test: total_coverage.info Lines: 100.0 % 3 3
Test Date: 2024-11-04 05:10:19 Functions: 100.0 % 1 1
Branches: 50.0 % 2 1

             Branch data     Line data    Source code
       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                 :           2 : void zmqError(const std::string& str)
      14                 :             : {
      15         [ +  - ]:           2 :     LogDebug(BCLog::ZMQ, "Error: %s, msg: %s\n", str, zmq_strerror(errno));
      16                 :           2 : }
        

Generated by: LCOV version 2.0-1