Commit Graph

76 Commits

Author SHA1 Message Date
Henrik Rydgård
5704ebfb61 More cleanup of Log.h, move AndroidAssert into MsgHandler.cpp/h. 2020-08-16 14:48:54 +02:00
Henrik Rydgård
8db6599e77 Buildfixes 2020-08-16 12:48:09 +02:00
Henrik Rydgård
c5147c01a0 Fix newlines in logging before the manager is initialized. 2020-08-16 10:01:09 +02:00
Henrik Rydgård
99a5a9aac5 Address feedback 2020-08-15 20:02:07 +02:00
Henrik Rydgård
3c412ea21e Fix build of ZimTool/AtlasTool. Had to break the ugly backwards dependency from LogManager to g_Config. 2020-08-15 19:09:09 +02:00
Henrik Rydgård
80e0f85332 Getting really close to getting rid of base/logging.h now.
Qt buildfix
2020-08-15 19:09:01 +02:00
Henrik Rydgård
b22083e7a6 Even more base/logging.h removal and fixes 2020-08-15 19:09:01 +02:00
Henrik Rydgård
0fcc0994b4 Recategorize some logging, in preparation for what's to come. 2020-08-15 11:51:22 +02:00
Henrik Rydgård
5ec2da0f2d Move Section out of IniFile so it can be forward declared. Unlocked further improvements to build speed. 2020-08-10 15:53:52 +02:00
Unknown W. Brackets
6ef7e069d3 Core: Fix logging of SCEGE category. 2018-08-22 18:28:36 -07:00
Unknown W. Brackets
77131e737b Log: Use a separate field for the timestamp.
Better than parsing it since we already have the header separate.  Simpler
too.
2018-06-08 06:59:17 -07:00
aliaspider
fc9a5ff65c prevent use-after-free. 2018-03-22 22:10:05 +01:00
aliaspider
2d1128db76 fix va_list reuse without a va_copy. 2018-03-22 22:04:49 +01:00
Henrik Rydgård
2e9d59ad10 Android: Use __android_log_assert facility to get pretty message-asserts into crash dumps. 2017-11-21 18:06:26 +01:00
twinaphex
db404adb95 More mingw patches 2017-08-29 22:24:20 +02:00
Henrik Rydgård
5880f37598 Simplify log initialization a little. Minor logging improvments in native. Don't disable logging in UWPMain 2017-03-23 10:02:29 +01:00
Henrik Rydgard
ff2b6b3fca Assorted cleanup, UWP memory map fixes. PSPFlower runs in both 32-bit and 64-bit. 2017-03-23 10:02:28 +01:00
Henrik Rydgård
fdfc572b69 Misc logging improvments, minor safety check 2017-03-20 13:07:22 +01:00
Henrik Rydgard
4f707a1022 Simplify logging code some more. Cleaner log output on Android. 2017-03-18 10:47:36 +01:00
Henrik Rydgard
a5d77f940a More cleanup 2017-03-17 18:00:24 +01:00
Henrik Rydgard
1ccca2ef33 We don't really support different listeners per log type, so let's get rid of that fiction. 2017-03-17 17:57:32 +01:00
Henrik Rydgård
eb73a28140 Add new log category FRAMEBUF 2017-03-13 13:55:29 +01:00
Henrik Rydgård
a895936913 More log cleanup. Fix resize issue: Fixes #9392 2017-03-06 13:50:22 +01:00
Henrik Rydgård
440e72d250 Clean up among the logs. Remove MASTER_LOG. 2017-03-06 13:10:23 +01:00
Henrik Rydgård
cfe2621604 LogManager: Hook up save/load, remove "long names" 2017-03-06 11:44:35 +01:00
Henrik Rydgard
26a2d42731 Big mutex overhaul - remove our custom ones, make them non-recursive where possible 2017-02-28 11:40:29 +01:00
Henrik Rydgard
19e309c91e Fix LogManager typo 2017-01-25 16:14:41 +01:00
Henrik Rydgard
5df4bac6d2 Delete some left behind unused code 2017-01-25 10:05:39 +01:00
Florent Castelli
4145b60a0e symbian: Remove! 2016-10-11 18:49:08 +02:00
Unknown W. Brackets
da03b80c97 Standardize on just one mutex implementation. 2016-03-06 14:49:15 -08:00
Henrik Rydgard
35b6c7341b Fix a bunch of memory leaks, after enabling file+line-number memory leak tracking for the MS Debug CRT.
Few of these were serious, most were on-exit, but good to have a cleaner memory report after running.
2016-02-10 15:36:10 +01:00
Unknown W. Brackets
da78ec0b4d Use USING_WIN_UI for desktop Windows console. 2016-01-03 15:10:50 -08:00
Henrik Rydgard
6d5bde9748 Fix more buggy string arithmetic in LogManager 2015-10-04 11:09:44 +02:00
Henrik Rydgard
60bbe16c89 Make LogManager string handling code safer. 2015-09-19 15:55:49 +02:00
Unknown W. Brackets
41631eb2b1 Try a different format of HLE logging. 2015-03-22 20:49:42 -07:00
Unknown W. Brackets
f3654795a3 Minor warning fixes. 2015-01-11 14:23:42 -08:00
Henrik Rydgard
a9b010b0cd Add a basic debug console UI to the devmenu that shows some log scrollback and has a little command line.
Useful for debugging on non-Windows in the future. For now non-mobile only (although may lift that restriction later)
2015-01-05 01:25:23 +01:00
Henrik Rydgård
374e12afc3 Merge pull request #5590 from unknownbrackets/xbox
Merge more parts of #4716
2014-03-03 13:37:21 +07:00
Unknown W. Brackets
ca938bf353 Cut down on locking in DEBUG_LOG.
Reduces GenericLog() from 13.8% to 1.5% in Where Is My Heart?, will
probably help other games to a lesser extent.
2014-03-02 22:03:02 -08:00
Ced2911
418d2ac8ce [xbox] 360 support for common 2014-03-02 12:15:10 -08:00
sum2012
de78674d62 Set default DEBUG when produce a debug build 2014-02-16 12:09:59 +08:00
sum2012
d96fc0858c Enable produce DEBUG_LOG rather tha INFO_LOG without install Visual studio express in windows
Default is INFO_LOG
More people can post DEBUG_LOG.
2014-02-16 12:04:31 +08:00
Unknown W. Brackets
d2108a962e Switch from USING_GLES2 to MOBILE_DEVICE.
Still using USING_GLES2 for, well, GLES2.  But for things that are really
about mobile, we need a new define.  Devices are coming that don't use
GLES2.
2014-02-08 16:37:58 -08:00
Unknown W. Brackets
3e18027b8d Fix some type comparison warnings. 2013-10-19 14:57:45 -07:00
The Dax
26e17e0e7f Disable default logging(--log still works fine), delete CommonPaths.h, and remove unused funcs in FileUtil. 2013-10-18 10:35:28 -04:00
The Dax
a9a6e7b384 Move default log file to g_Config.memCardDirectory/PSP/SYSTEM/Logs/ppsspp.log. 2013-10-18 10:35:28 -04:00
adrian17
5f86bc44d4 Deleted some doubled #includes. 2013-09-27 21:38:07 +02:00
Unknown W. Brackets
08b41df6a2 Change a few more log types. 2013-09-07 13:31:14 -07:00
Henrik Rydgard
8c88dff5a4 More log categories, use them (and existing ones). Improve log config. 2013-09-07 22:02:55 +02:00
Henrik Rydgard
324cde5a79 Let's actually use the log category mechanism. A first step. 2013-09-07 21:19:21 +02:00