Nigel Rantor / azure_c_shared_utility

Fork of azure_c_shared_utility by Azure IoT

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers consolelogger.h Source File

consolelogger.h

00001 // Copyright (c) Microsoft. All rights reserved.
00002 // Licensed under the MIT license. See LICENSE file in the project root for full license information.
00003 
00004 #ifndef CONSOLELOGGER_H
00005 #define CONSOLELOGGER_H
00006 
00007 #ifdef __cplusplus
00008 extern "C" {
00009 #endif /* __cplusplus */
00010 
00011 #include "azure_c_shared_utility/xlogging.h"
00012 
00013     extern void consolelogger_log(LOG_CATEGORY log_category, const char* file, const char* func, int line, unsigned int options, const char* format, ...);
00014 
00015 #if (defined(_MSC_VER)) && (!(defined WINCE))
00016     extern void consolelogger_log_with_GetLastError(const char* file, const char* func, int line, const char* format, ...);
00017 #endif
00018 
00019 #ifdef __cplusplus
00020 }
00021 #endif /* __cplusplus */
00022 
00023 #endif /* CONSOLELOGGER_H */