Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: STM32F746_iothub_client_sample_mqtt f767zi_mqtt iothub_client_sample_amqp iothub_client_sample_http ... more
consolelogger.c
- Committer:
- Azure.IoT Build
- Date:
- 2016-07-01
- Revision:
- 6:c55b013dfc2a
- Child:
- 7:1af47e3a19b6
File content as of revision 6:c55b013dfc2a:
// 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 "azure_c_shared_utility/xlogging.h"
void consolelogger_log(LOG_CATEGORY log_category,unsigned int options, const char* format, ...)
{
	va_list args;
	va_start(args, format);
	(void)vprintf(format, args);
	va_end(args);
    (void)log_category;
	if (options & LOG_LINE)
	{
		(void)printf("\r\n");
	}
}
            
    