mirror of
https://github.com/espressif/openthread.git
synced 2026-10-01 21:37:39 +00:00
[logging] remove deprecated OPENTHREAD_CONFIG_ENABLE_DEFAULT_LOG_OUTPUT (#2651)
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2017, The OpenThread Authors.
|
* Copyright (c) 2016, The OpenThread Authors.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@@ -27,21 +27,19 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file
|
* @file logging.c
|
||||||
* This file implements the OpenThread platform abstraction for logging.
|
* Platform abstraction for the logging
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
#include <openthread-core-config.h>
|
||||||
#include <openthread/cli.h>
|
#include <openthread/config.h>
|
||||||
#include <openthread/platform/logging.h>
|
#include <openthread/platform/logging.h>
|
||||||
|
|
||||||
#if (OPENTHREAD_CONFIG_ENABLE_DEFAULT_LOG_OUTPUT == 0)
|
#if (OPENTHREAD_CONFIG_LOG_OUTPUT == OPENTHREAD_CONFIG_LOG_OUTPUT_PLATFORM_DEFINED)
|
||||||
|
|
||||||
void otPlatLog(otLogLevel aLogLevel, otLogRegion aLogRegion, const char *aFormat, ...)
|
void otPlatLog(otLogLevel aLogLevel, otLogRegion aLogRegion, const char *aFormat, ...)
|
||||||
{
|
{
|
||||||
(void)aLogLevel;
|
(void)aLogLevel;
|
||||||
(void)aLogRegion;
|
(void)aLogRegion;
|
||||||
(void)aFormat;
|
(void)aFormat;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
#endif // (OPENTHREAD_CONFIG_ENABLE_DEFAULT_LOG_OUTPUT == 0)
|
|
||||||
|
|||||||
Reference in New Issue
Block a user