Azure IoT common library
Dependents: STM32F746_iothub_client_sample_mqtt f767zi_mqtt iothub_client_sample_amqp iothub_client_sample_http ... more
Diff: consolelogger.c
- Revision:
- 19:2e0811512ceb
- Parent:
- 18:6d8a413a4d9a
- Child:
- 25:8507bf644fdf
diff -r 6d8a413a4d9a -r 2e0811512ceb consolelogger.c --- a/consolelogger.c Fri Jan 13 18:41:15 2017 -0800 +++ b/consolelogger.c Sat Jan 28 09:35:22 2017 -0800 @@ -1,12 +1,9 @@ // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. -#include <stdlib.h> -#ifdef _CRTDBG_MAP_ALLOC -#include <crtdbg.h> -#endif #include <stdarg.h> #include <stdio.h> +#include <time.h> #include "azure_c_shared_utility/xlogging.h" void consolelogger_log(LOG_CATEGORY log_category, const char* file, const char* func, const int line, unsigned int options, const char* format, ...)