Changeset View
Changeset View
Standalone View
Standalone View
doc/tracing.md
Show First 20 Lines • Show All 141 Lines • ▼ Show 20 Lines | |||||
#define TRACE12(context, event, a, b, c, d, e, f, g, h, i, j, k, l) | #define TRACE12(context, event, a, b, c, d, e, f, g, h, i, j, k, l) | ||||
``` | ``` | ||||
For example: | For example: | ||||
```C++ | ```C++ | ||||
TRACE6(net, inbound_message, | TRACE6(net, inbound_message, | ||||
pnode->GetId(), | pnode->GetId(), | ||||
pnode->GetAddrName().c_str(), | pnode->m_addr_name.c_str(), | ||||
pnode->ConnectionTypeAsString().c_str(), | pnode->ConnectionTypeAsString().c_str(), | ||||
sanitizedType.c_str(), | sanitizedType.c_str(), | ||||
msg.data.size(), | msg.data.size(), | ||||
msg.data.data() | msg.data.data() | ||||
); | ); | ||||
``` | ``` | ||||
### Guidelines and best practices | ### Guidelines and best practices | ||||
▲ Show 20 Lines • Show All 108 Lines • Show Last 20 Lines |