Xin Zhang / azure-iot-c-sdk-f767zi

Dependents:   samplemqtt

Revision:
0:f7f1f0d76dd6
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/uamqp/deps/umock-c/src/umock_log.c	Thu Aug 23 06:52:14 2018 +0000
@@ -0,0 +1,19 @@
+
+// Copyright (c) Microsoft. All rights reserved.
+// Licensed under the MIT license. See LICENSE file in the project root for full license information.
+
+#include <stdio.h>
+#include <stdarg.h>
+
+#include "umock_log.h"
+#include "umock_c_internal.h"
+
+void UMOCK_LOG(const char* format, ...)
+{
+    va_list params;
+    va_start(params, format);
+    (void)vprintf(format, params); 
+    va_end(params);
+    printf("\r\n");
+    umock_c_indicate_error(UMOCK_C_ERROR);
+}