Commit 9dd8d64 1 parent fe6c428 commit 9dd8d64 Copy full SHA for 9dd8d64
File tree 2 files changed +14
-14
lines changed
2 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 91
91
92
92
#include " node_impl.hxx"
93
93
94
- // #define ENABLE_DEBUG_ULOGS
95
-
96
- #ifdef DEFAULT_LOGGER
97
- # undef DEFAULT_LOGGER
98
- #endif
99
- #define DEFAULT_LOGGER " p2p"
100
-
101
94
#define INVOCATION_COUNTER (name ) \
102
95
static size_t total_ ## name ## _counter = 0 ; \
103
96
static size_t active_ ## name ## _counter = 0 ; \
118
111
} \
119
112
} invocation_logger(&total_ ## name ## _counter, &active_ ## name ## _counter)
120
113
121
- // log these messages even at warn level when operating on the test network
122
- #ifdef GRAPHENE_TEST_NETWORK
123
- #define testnetlog wlog
124
- #else
125
- #define testnetlog (...) do {} while (0 )
126
- #endif
127
-
128
114
namespace graphene { namespace net { namespace detail {
129
115
130
116
void blockchain_tied_message_cache::block_accepted ()
Original file line number Diff line number Diff line change @@ -16,6 +16,20 @@ namespace bmi = boost::multi_index;
16
16
17
17
#define P2P_IN_DEDICATED_THREAD
18
18
19
+ // #define ENABLE_DEBUG_ULOGS
20
+
21
+ #ifdef DEFAULT_LOGGER
22
+ # undef DEFAULT_LOGGER
23
+ #endif
24
+ #define DEFAULT_LOGGER " p2p"
25
+
26
+ // log these messages even at warn level when operating on the test network
27
+ #ifdef GRAPHENE_TEST_NETWORK
28
+ #define testnetlog wlog
29
+ #else
30
+ #define testnetlog (...) do {} while (0 )
31
+ #endif
32
+
19
33
/* ******
20
34
* A class to wrap std::unordered_set for multithreading
21
35
*/
You can’t perform that action at this time.
0 commit comments