Commit Graph

67 Commits

Author SHA1 Message Date
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
Henrik Rydgard
26c5ee4a6d Add screen to control debug levels. Will make it easier to access later. 2013-09-07 13:38:37 +02:00
Henrik Rydgard
78d3ee3d6a Misc cleanup, mostly logging code 2013-09-07 13:01:19 +02:00
Henrik Rydgard
6360fcb0ae Add some stats to get some idea of much alpha tested drawing we do.
Turns out it's one hell of a lot and we really should fix this by
checking both vertices and textures to deduce when we can just skip
alpha testing safely, probably quite often.

I care about this because alpha testing drawing is very expensive
on some mobile chips.
2013-08-27 21:01:17 +02:00
The Dax
528d81151a Initial support for disabling logging, to provide a possible boost in performance for games that spam the log like crazy. 2013-07-27 19:39:49 -04:00
Unknown W. Brackets
8c7506e2eb Mobile: Enable console logging in debug mode. 2013-03-16 00:25:41 -07:00
Unknown W. Brackets
47e2e6f718 Retain the first directory level in logging. 2013-03-11 02:27:28 -07:00
Unknown W. Brackets
a34cf0bb79 Add a VERBOSE logging level, for noisy logging.
The debug log is hard to look at because it has so much unneeded info.
2013-03-10 22:32:48 -07:00
Unknown W. Brackets
118050485f Show the current thread name in the log file.
This is very useful, although it kinda entwines the logging a bit
more than might be desired.
2013-03-10 22:25:03 -07:00
Henrik Rydgard
c0e8fb1499 Revert turning on debug thing 2013-02-27 18:01:23 +01:00