Print trace logs for each incoming and outgoing packet.
More...
#include <transport-tracer.hpp>
Inherits ndnph::transport::TransportWrap.
|
virtual void | log (char direction, const uint8_t *pkt, size_t pktLen, uint64_t endpointId) |
|
Print trace logs for each incoming and outgoing packet.
◆ Tracer()
ndnph::transport::Tracer::Tracer |
( |
Transport & |
inner, |
|
|
const char * |
category = "transport" |
|
) |
| |
|
inlineexplicit |
◆ log()
virtual void ndnph::transport::Tracer::log |
( |
char |
direction, |
|
|
const uint8_t * |
pkt, |
|
|
size_t |
pktLen, |
|
|
uint64_t |
endpointId |
|
) |
| |
|
inlineprivatevirtual |
◆ category
const char* ndnph::transport::Tracer::category |
|
protected |
The documentation for this class was generated from the following file: