diff --git a/include/openthread/platform/logging.h b/include/openthread/platform/logging.h index df1c08e0d..68687ed1f 100644 --- a/include/openthread/platform/logging.h +++ b/include/openthread/platform/logging.h @@ -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); - /** * @} * diff --git a/src/core/common/logging.hpp b/src/core/common/logging.hpp index 4b19e5661..8ae54a065 100644 --- a/src/core/common/logging.hpp +++ b/src/core/common/logging.hpp @@ -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__)