[Base] Add wide versions of FatalError.

This commit is contained in:
gibbed
2019-08-04 03:26:18 -05:00
parent 29fcde6687
commit b685211b96
2 changed files with 23 additions and 0 deletions

View File

@@ -50,8 +50,10 @@ void LogLine(LogLevel log_level, const char prefix_char,
// Logs a fatal error with printf-style formatting and aborts the program.
void FatalError(const char* fmt, ...);
void FatalError(const wchar_t* fmt, ...);
// Logs a fatal error and aborts the program.
void FatalError(const std::string& str);
void FatalError(const std::wstring& str);
#if XE_OPTION_ENABLE_LOGGING
#define XELOGCORE(level, prefix, fmt, ...) \