mirror of
https://github.com/izzy2lost/ppsspp.git
synced 2026-03-10 12:43:04 -07:00
Log level/type: Use enum class instead of the awkward namespace trick.
Just a small cleanup I've wanted to do for a long time.
This commit is contained in:
@@ -202,10 +202,10 @@ int utimensat(int fd, const char *path, const struct timespec times[2]) {
|
||||
void AndroidLogger::Log(const LogMessage &message) {
|
||||
int mode;
|
||||
switch (message.level) {
|
||||
case LogTypes::LWARNING:
|
||||
case LogLevel::LWARNING:
|
||||
mode = ANDROID_LOG_WARN;
|
||||
break;
|
||||
case LogTypes::LERROR:
|
||||
case LogLevel::LERROR:
|
||||
mode = ANDROID_LOG_ERROR;
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user