Skip to content

Commit c56f8d1

Browse files
authored
Merge pull request #151 from DUNE-DAQ/eflumerf/FixLoggingInclude
Include logging/Logging.hpp whenever ERS issues are declared, includi…
2 parents ee71caf + fb0aea5 commit c56f8d1

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

include/dpdklibs/Issues.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#define DPDKLIBS_INCLUDE_DPDKLIBS_DPDKISSUES_HPP_
1010

1111
#include <ers/Issue.hpp>
12+
#include "logging/Logging.hpp" // NOTE: if ISSUES ARE DECLARED BEFORE include logging/Logging.hpp, TLOG_DEBUG<<issue wont work.
1213

1314
#include <string>
1415

include/dpdklibs/udp/Utils.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include "IPV4UDPPacket.hpp"
1212

1313
#include "detdataformats/DAQEthHeader.hpp"
14-
#include "logging/Logging.hpp"
14+
#include "logging/Logging.hpp" // NOTE: if ISSUES ARE DECLARED BEFORE include logging/Logging.hpp, TLOG_DEBUG<<issue wont work.
1515

1616
#include "fmt/core.h"
1717
#include "rte_ether.h"

src/IfaceWrapper.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
#include <nlohmann/json.hpp>
2929

3030
#include <ers/ers.hpp>
31+
#include "logging/Logging.hpp" // NOTE: if ISSUES ARE DECLARED BEFORE include logging/Logging.hpp, TLOG_DEBUG<<issue wont work.
3132

3233
#include <memory>
3334
#include <sstream>

0 commit comments

Comments
 (0)