From 5fcb34c22f70a1edc08477234a1403e59a0732fa Mon Sep 17 00:00:00 2001 From: Jonathan Hui Date: Mon, 9 Apr 2018 15:55:19 -0700 Subject: [PATCH] [logging] remove deprecated OPENTHREAD_CONFIG_ENABLE_DEFAULT_LOG_OUTPUT (#2651) --- examples/platforms/samr21/logging.c | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/examples/platforms/samr21/logging.c b/examples/platforms/samr21/logging.c index 89074b3d4..0cbb7792f 100644 --- a/examples/platforms/samr21/logging.c +++ b/examples/platforms/samr21/logging.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, The OpenThread Authors. + * Copyright (c) 2016, The OpenThread Authors. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -27,21 +27,19 @@ */ /** - * @file - * This file implements the OpenThread platform abstraction for logging. + * @file logging.c + * Platform abstraction for the logging * */ - -#include +#include +#include #include -#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)aLogLevel; (void)aLogRegion; (void)aFormat; } - -#endif // (OPENTHREAD_CONFIG_ENABLE_DEFAULT_LOG_OUTPUT == 0) +#endif