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.
uamqp/deps/umock-c/src/umock_log.c@0:f7f1f0d76dd6, 2018-08-23 (annotated)
- Committer:
- XinZhangMS
- Date:
- Thu Aug 23 06:52:14 2018 +0000
- Revision:
- 0:f7f1f0d76dd6
azure-c-sdk for mbed os supporting NUCLEO_F767ZI
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
XinZhangMS | 0:f7f1f0d76dd6 | 1 | |
XinZhangMS | 0:f7f1f0d76dd6 | 2 | // Copyright (c) Microsoft. All rights reserved. |
XinZhangMS | 0:f7f1f0d76dd6 | 3 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. |
XinZhangMS | 0:f7f1f0d76dd6 | 4 | |
XinZhangMS | 0:f7f1f0d76dd6 | 5 | #include <stdio.h> |
XinZhangMS | 0:f7f1f0d76dd6 | 6 | #include <stdarg.h> |
XinZhangMS | 0:f7f1f0d76dd6 | 7 | |
XinZhangMS | 0:f7f1f0d76dd6 | 8 | #include "umock_log.h" |
XinZhangMS | 0:f7f1f0d76dd6 | 9 | #include "umock_c_internal.h" |
XinZhangMS | 0:f7f1f0d76dd6 | 10 | |
XinZhangMS | 0:f7f1f0d76dd6 | 11 | void UMOCK_LOG(const char* format, ...) |
XinZhangMS | 0:f7f1f0d76dd6 | 12 | { |
XinZhangMS | 0:f7f1f0d76dd6 | 13 | va_list params; |
XinZhangMS | 0:f7f1f0d76dd6 | 14 | va_start(params, format); |
XinZhangMS | 0:f7f1f0d76dd6 | 15 | (void)vprintf(format, params); |
XinZhangMS | 0:f7f1f0d76dd6 | 16 | va_end(params); |
XinZhangMS | 0:f7f1f0d76dd6 | 17 | printf("\r\n"); |
XinZhangMS | 0:f7f1f0d76dd6 | 18 | umock_c_indicate_error(UMOCK_C_ERROR); |
XinZhangMS | 0:f7f1f0d76dd6 | 19 | } |