mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-10 21:16:24 +02:00
Logging API change (refactor) (#19324)
* Rename LogType to Log * Explicitly use the Log:: enum when logging. Allows for autocomplete when editing. * Mac/ARM64 buildfix * Do the same with the hle result log macros * Rename the log names to mixed case while at it. * iOS buildfix * Qt buildfix attempt, ARM32 buildfix
This commit is contained in:
1 parent
ae3ff686f0
commit
e01ca5b057
393 files changed
+6198
-6193
No files matched your search
@@ -200,7 +200,7 @@ void InputSink::AccountFill(int bytes) {
|
||||
if (errno == EWOULDBLOCK || errno == EAGAIN)
|
||||
return;
|
||||
#endif
|
||||
ERROR_LOG(IO, "Error reading from socket");
|
||||
ERROR_LOG(Log::IO, "Error reading from socket");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -321,10 +321,10 @@ bool OutputSink::Printf(const char *fmt, ...) {
|
||||
// Okay, did we actually write?
|
||||
if (result >= (int)avail) {
|
||||
// This means the result string was too big for the buffer.
|
||||
ERROR_LOG(IO, "Not enough space to format output.");
|
||||
ERROR_LOG(Log::IO, "Not enough space to format output.");
|
||||
return false;
|
||||
} else if (result < 0) {
|
||||
ERROR_LOG(IO, "vsnprintf failed.");
|
||||
ERROR_LOG(Log::IO, "vsnprintf failed.");
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -407,7 +407,7 @@ void OutputSink::AccountDrain(int bytes) {
|
||||
if (errno == EWOULDBLOCK || errno == EAGAIN)
|
||||
return;
|
||||
#endif
|
||||
ERROR_LOG(IO, "Error writing to socket");
|
||||
ERROR_LOG(Log::IO, "Error writing to socket");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user