Commit Graph

14 Commits

Author SHA1 Message Date
Henrik Rydgård
e01ca5b057
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
2024-07-14 14:42:59 +02:00
Henrik Rydgård
178147b20a Make asserts work better in headless when running tests on Windows 2024-04-16 22:54:48 +02:00
Henrik Rydgård
949f746f96 Add time-elapsed to assert messages
Just a crude thing to easily see if a crash is from just starting a game
or later.
2023-09-23 08:53:59 +02:00
Henrik Rydgård
1cf4e83824 Show thread name in assert messagebox caption on Windows. Minor cleanup 2023-03-15 22:26:58 +01:00
Henrik Rydgård
a3252078e6 Reorder the information in assert lines by importance, to avoid the juicy stuff getting cut out 2023-01-02 16:43:01 +01:00
Henrik Rydgård
2ab7222d5b Clear the extra assert info on game exit 2022-12-17 22:17:29 +01:00
Henrik Rydgård
800bc91a8a Supply some extra info in asserts (currently game ID and name).
Google Play Console can now show this along with the assert stacktrace.
2022-12-17 22:14:47 +01:00
Unknown W. Brackets
2479d52202 Global: Reduce includes of common headers.
In many places, string, map, or Common.h were included but not needed.
2022-01-30 16:35:33 -08:00
Unknown W. Brackets
e266eb78ad Common: Avoid assert hang in CI. 2022-01-29 18:39:21 -08:00
Unknown W. Brackets
6c013cec96 Common: Print assert failures to stderr. 2022-01-22 00:14:15 -08:00
Unknown W. Brackets
f12aa92a00 Common: Cleanup some logging warnings. 2021-04-30 23:31:54 -07:00
Henrik Rydgård
ff8148dd92 Move native/util, native/data and native/i18 to Common/Data.
Also move colorutil.cpp/h

linking build fix experiment

Delete a bunch of unused CMakeLists.txt files

CMakeLists.txt linking fix

Don't include NativeApp.h from any headers.

Android.mk buildfix

Half of the UWP fix

Buildfix

Minor project file cleanup

Buildfixes

Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
Henrik Rydgård
0bf6bd9175 More Log.h cleanup. 2020-08-16 14:48:54 +02:00
Henrik Rydgård
9561a4f80a Move MsgHandler into Log.cpp/h 2020-08-16 14:48:54 +02:00