![]() |
0.01.00
|
This file implements the tasklet scheduler. More...
#include <openthread/config.h>#include <openthread-core-config.h>#include "logging.hpp"#include <openthread/openthread.h>Macros | |
| #define | WPP_NAME "logging.tmh" |
| #define | otLogDump(aFormat, ...) _otDynamicLog(aInstance, aLogLevel, aLogRegion, aFormat OPENTHREAD_CONFIG_LOG_SUFFIX, ## __VA_ARGS__) |
Functions | |
| void | otDump (otInstance *, otLogLevel, otLogRegion, const char *, const void *, const size_t) |
| This method dumps bytes to the log in a human-readable fashion. More... | |
| const char * | otThreadErrorToString (otError aError) |
| This function converts an otError enum into a string. More... | |
| void | otPlatLog (otLogLevel aLogLevel, otLogRegion aLogRegion, const char *aFormat,...) |
| This function outputs logs. More... | |
This file implements the tasklet scheduler.
| void otDump | ( | otInstance * | aIntsance, |
| otLogLevel | aLevel, | ||
| otLogRegion | aRegion, | ||
| const char * | aId, | ||
| const void * | aBuf, | ||
| const size_t | aLength | ||
| ) |
This method dumps bytes to the log in a human-readable fashion.
| [in] | aInstance | A pointer to the instance. |
| [in] | aLevel | The log level. |
| [in] | aRegion | The log region. |
| [in] | aId | A pointer to a NULL-terminated string that is printed before the bytes. |
| [in] | aBuf | A pointer to the buffer. |
| [in] | aLength | Number of bytes to print. |
| const char* otThreadErrorToString | ( | otError | aError | ) |
This function converts an otError enum into a string.
| [in] | aError | An otError enum. |