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.
Diff: uamqp/deps/umock-c/src/umock_log.c
- 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); +}