MCPcopy Create free account
hub / github.com/cinit/WSAPatch / levelName

Method levelName

Log.h:70–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68 }
69
70 static constexpr const WCHAR *levelName(Level level) noexcept {
71 switch (level) {
72 case Level::UNKNOWN:
73 return L"UNKNOWN";
74 case Level::VERBOSE:
75 return L"VERBOSE";
76 case Level::DEBUG:
77 return L"DEBUG";
78 case Level::INFO:
79 return L"INFO";
80 case Level::WARN:
81 return L"WARN";
82 case Level::ERROR:
83 return L"ERROR";
84 default:
85 return L"UNKNOWN";
86 }
87 }
88};
89
90#define LOGE(...) Log::format(static_cast<Log::Level>(6), LOG_TAG, __VA_ARGS__)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected