[logging] remove unused otPlatLogv (#4339)

This commit is contained in:
Abtin Keshavarzian
2019-11-19 18:33:25 -08:00
committed by Jonathan Hui
parent 9f2ff3bcbf
commit ab3a1ef6d4
2 changed files with 3 additions and 13 deletions
-11
View File
@@ -147,17 +147,6 @@ typedef enum otLogRegion
*/
void otPlatLog(otLogLevel aLogLevel, otLogRegion aLogRegion, const char *aFormat, ...);
/**
* This function outputs logs.
*
* @param[in] aLogLevel The log level.
* @param[in] aLogRegion The log region.
* @param[in] aFormat A pointer to the format string.
* @param[in] ap va_list matching information for aFormat
*
*/
void otPlatLogv(otLogLevel aLogLevel, otLogRegion aLogRegion, const char *aFormat, va_list ap);
/**
* @}
*
+3 -2
View File
@@ -1911,8 +1911,9 @@ const char *otLogLevelToPrefixString(otLogLevel aLogLevel);
#endif // OPENTHREAD_CONFIG_ENABLE_DYNAMIC_LOG_LEVEL
/**
* `OPENTHREAD_CONFIG_PLAT_LOG_FUNCTION` is a configuration parameter (see `openthread-core-default-config.h`) which
* specifies the function/macro to be used for logging in OpenThread. By default it is set to `otPlatLog()`.
* `OPENTHREAD_CONFIG_PLAT_LOG_FUNCTION` is a configuration parameter (see `config/logging.h`) which specifies the
* function/macro to be used for logging in OpenThread. By default it is set to `otPlatLog()`.
*
*/
#define _otPlatLog(aLogLevel, aRegion, aFormat, ...) \
OPENTHREAD_CONFIG_PLAT_LOG_FUNCTION(aLogLevel, aRegion, aFormat, ##__VA_ARGS__)