Update TCP socket wrappers to use debug logging level from config files (#1091)

This commit is contained in:
Tony Josi 2023-09-26 15:09:32 +05:30 committed by GitHub
parent d1d78528a2
commit 10269777fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,6 +32,14 @@
/* Include header that defines log levels. */ /* Include header that defines log levels. */
#include "logging_levels.h" #include "logging_levels.h"
/* FreeRTOS includes. */
#include "FreeRTOS.h"
/* FreeRTOS+TCP includes. */
#include "FreeRTOS_IP.h"
#include "FreeRTOS_Sockets.h"
#include "FreeRTOS_DNS.h"
/* Logging configuration for the Sockets. */ /* Logging configuration for the Sockets. */
#ifndef LIBRARY_LOG_NAME #ifndef LIBRARY_LOG_NAME
#define LIBRARY_LOG_NAME "SocketsWrapper" #define LIBRARY_LOG_NAME "SocketsWrapper"
@ -48,14 +56,6 @@ extern void vLoggingPrintf( const char * pcFormatString,
/* Standard includes. */ /* Standard includes. */
#include <string.h> #include <string.h>
/* FreeRTOS includes. */
#include "FreeRTOS.h"
/* FreeRTOS+TCP includes. */
#include "FreeRTOS_IP.h"
#include "FreeRTOS_Sockets.h"
#include "FreeRTOS_DNS.h"
/* TCP Sockets Wrapper include.*/ /* TCP Sockets Wrapper include.*/
/* Let sockets wrapper know that Socket_t is defined already. */ /* Let sockets wrapper know that Socket_t is defined already. */
#define SOCKET_T_TYPEDEFED #define SOCKET_T_TYPEDEFED