summaryrefslogtreecommitdiffstats
path: root/Whisper/Utils/Logger.h
blob: 5e6ec0dc8f82e3163b84c674cf98c346bf1f3ea6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#pragma once
#include "../API/loggerApi.h"

#ifdef  __cplusplus
extern "C" {
#endif

void logError( const char8_t* pszFormat, ... );
void logError16( const wchar_t* pszFormat, ... );
void logErrorHr( long hr, const char8_t* pszFormat, ... );
void logWarning( const char8_t* pszFormat, ... );
void logWarning16( const wchar_t* pszFormat, ... );
void logWarningHr( long hr, const char8_t* pszFormat, ... );
void logInfo( const char8_t* pszFormat, ... );
void logInfo16( const wchar_t* pszFormat, ... );
void logDebug( const char8_t* pszFormat, ... );
void logDebug16( const wchar_t* pszFormat, ... );

bool willLogMessage( Whisper::eLogLevel lvl );

#ifdef  __cplusplus
}
#endif