mirror of
https://github.com/espressif/openthread.git
synced 2026-08-22 10:29:52 +00:00
[logging] remove unused otPlatLogv (#4339)
This commit is contained in:
committed by
Jonathan Hui
parent
9f2ff3bcbf
commit
ab3a1ef6d4
@@ -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);
|
||||
|
||||
/**
|
||||
* @}
|
||||
*
|
||||
|
||||
@@ -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__)
|
||||
|
||||
Reference in New Issue
Block a user