![]() |
Thingstream Client Library
BLD4131-v2.13
|
ThingstreamTransport implementation that logs thingstream requests made to the thingstream transport layer. More...
Functions | |
ThingstreamTransport * | Thingstream_createClientLogger (ThingstreamTransport *inner, ThingstreamPrintf_t log, uint8_t level_mask) |
ThingstreamTransport implementation that logs thingstream requests made to the thingstream transport layer.
ThingstreamTransport* Thingstream_createClientLogger | ( | ThingstreamTransport * | inner, |
ThingstreamPrintf_t | log, | ||
uint8_t | level_mask | ||
) |
Add logging between client transport and the underlying transport instance.
inner | the ThingstreamTransport instance to wrap |
log | the function to use for printing to the log |
level_mask | a bitmask specifying which messages to write to the log |