| 1 |
// Copyright (c) Microsoft. All rights reserved. |
| 2 |
// Licensed under the MIT license. See LICENSE file in the project root for full license information. |
| 3 |
|
| 4 |
#ifndef CONSOLELOGGER_H |
| 5 |
#define CONSOLELOGGER_H |
| 6 |
|
| 7 |
#include "azure_c_shared_utility/xlogging.h" |
| 8 |
|
| 9 |
#ifdef __cplusplus |
| 10 |
extern "C" { |
| 11 |
#endif /* __cplusplus */ |
| 12 |
|
| 13 |
void consolelogger_log(LOG_CATEGORY log_category, const char* file, const char* func, int line, unsigned int options, const char* format, ...); |
| 14 |
|
| 15 |
#if (defined(_MSC_VER)) |
| 16 |
void consolelogger_log_with_GetLastError(const char* file, const char* func, int line, const char* format, ...); |
| 17 |
#endif |
| 18 |
|
| 19 |
#ifdef __cplusplus |
| 20 |
} |
| 21 |
#endif /* __cplusplus */ |
| 22 |
|
| 23 |
#endif /* CONSOLELOGGER_H */ |