Skip to content

Commit

Permalink
Use wchat_t
Browse files Browse the repository at this point in the history
Co-authored-by: Edward Chen <[email protected]>
  • Loading branch information
cloudhan and edgchen1 authored Aug 22, 2023
1 parent a93f3d9 commit 6c78312
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions onnxruntime/core/common/logging/sinks/ostream_sink.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ struct Color {
constexpr static const char* kFatal = "\e[1;37;41m"; // bold white on red background
constexpr static const char* kEnd = "\e[m";
#ifdef _WIN32
constexpr static const char* kLWarn = L"\e[0;93m"; // yellow
constexpr static const char* kLError = L"\e[1;31m"; // bold red
constexpr static const char* kLFatal = L"\e[1;37;41m"; // bold white on red background
constexpr static const char* kLEnd = L"\e[m";
constexpr static const wchar_t* kLWarn = L"\e[0;93m"; // yellow
constexpr static const wchar_t* kLError = L"\e[1;31m"; // bold red
constexpr static const wchar_t* kLFatal = L"\e[1;37;41m"; // bold white on red background
constexpr static const wchar_t* kLEnd = L"\e[m";
#endif
};
#endif
Expand Down

0 comments on commit 6c78312

Please sign in to comment.