c9e8289e82
LogManager: add SaveSettings
2017-07-07 16:44:38 -07:00
8ff8dfcdf2
LogManager: make LogContainer a POD and don't allocate
2017-07-07 16:44:38 -07:00
18da6dee8e
LogManager: remove per-container listeners
2017-07-07 16:44:38 -07:00
546fa628fb
LogManager: remove per-container verbosities
2017-07-07 16:44:38 -07:00
26aa9f88a4
LogManager: clean up header
2017-07-07 16:44:38 -07:00
dd8dcdf880
LogManager: Check if listener is valid before using it
2017-06-17 10:39:06 +02:00
a2ad3e14d0
Logging: Remove duplicated code
2017-06-17 10:20:30 +02:00
100c433261
Logging: Move verbosity setting code to LogManager
...
No clue why it was in DolphinWX.
2017-06-17 10:20:30 +02:00
cf94ce6305
Add a namespace to OpenFStream
...
For consistency with the other functions in FileUtil.h.
2017-06-15 21:34:04 +02:00
d416cbd9ed
Add CubebUtils namespace and hook up cubeb logging
2017-05-27 18:28:57 -07:00
b7a1c6f504
Logging: Add CORE type
2017-03-05 15:47:23 +01:00
c9f4889437
IOS: Re-implement USB_HIDv4 (/dev/usb/hid)
...
This reimplements the USB HID v4 IOS device using the new common
USB code (to reuse more code and allow emulated HIDs to be added
more easily in the future).
The main difference is that HIDs now have to be whitelisted, like
every other USB device for OH0 and VEN.
2017-02-05 11:36:49 +01:00
713ec5ffd5
Add includes for building on Windows without PCH
2017-01-23 01:37:41 -08:00
954c41d6e9
IOS: Move out common USB structures
...
Some structures will be reused and shared between several IOS USB
device implementations. This prepares for the upcoming USB PR.
I've also removed GetPointer calls in the trivial case (BT passthrough)
2017-01-20 18:29:21 +01:00
ef5a855b8e
Update log types names from IPC_HLE to IOS
...
For consistency with the other changes.
WII_IPC_DVD was changed to IOS_DI, as this describes what the log type
is used for in a more specific way.
2017-01-18 21:43:37 +01:00
6ee799ba7c
Reduces the the filename of logs
...
Using cmake and GCC, logs would contain the full file path when logging making logs lines unnecessarily long. This is solved by just removing anything before "/Source/Core/" (where / is whatever your OS uses to separated directory).
2016-10-04 16:34:26 -04:00
08f28b5351
Enable the log level LINFO in every builds
...
It didn't really made sense to disable 2 logs levels in releases builds while the level LDEBUG should really be where logs that would impact performance be. Info should be logs that report potentially usefull information and debug should report info that would only be usefull in debug context as they are called very often. To make this work, a lot of info log would have to be made debug log.
It also avoid inaccurate logs level done due to not using debug builds. While searching through the code, I saw a ton of logs that should have been info log, likely done to avoid using a debug build (which shouldn't happen considering the level debug exists anyway).
The whole idea is to have more meaningful logs in release builds while maintaining minimal performance loss from choosing the highest level. This could potentially help to diagnose issues or to know more about what the emulator is actually doing.
The next commit aims to sort the log levels for this purpose.
2016-09-25 01:41:12 -04:00
3570c7f03a
Reformat all the things. Have fun with merge conflicts.
2016-06-24 10:43:46 +02:00
4b06e92731
A few more asterisks, mostly casts
2016-01-21 22:20:22 +01:00
3e283ea9f1
More asterisks
2016-01-21 21:16:51 +01:00
78aa398e7c
Common: asterisks go against the type name
...
not the variable name
2016-01-21 20:46:25 +01:00
a759883ae5
Merge pull request #3126 from phire/remove-logging-lock
...
Refactor logging code to get rid of a mutex.
2015-12-03 13:32:07 +13:00
f84577b90b
LogManager: Move android logcat code into the proper place.
2015-10-04 02:18:06 +13:00
5f8a67250f
Bitset: Make bool() operator explicit.
2015-10-04 01:37:32 +13:00
18142eddb4
LogManager: Remove unused define.
2015-10-04 00:38:47 +13:00
6153424b8c
LogManager: replace set of LogListener pointers with bitset.
...
Mostly so we can iterate over which LogListeners are enabled without
having to aquire a lock.
2015-10-04 00:38:34 +13:00
3b75f45cf6
Fix building with PCH disabled.
2015-09-28 11:51:08 -05:00
cc036ca86c
Common: Remove other Common prefixed headers from Common.h
2015-09-26 18:51:58 -04:00
19ac565e0d
Common: Move asserts to their own header
2015-09-26 18:51:27 -04:00
1d42db2439
Common: Move NonCopyable to its own header
2015-09-26 18:50:35 -04:00
ef4974b6a2
Remove unused log type.
2015-09-10 18:39:32 +12:00
0ed1e977cc
Rearrange the logtypes into something closer to alphabetical order.
...
Also fix up a few of the long names.
2015-09-10 18:39:08 +12:00
de9310fe70
Split OpenGL errors into a separate logtype from Video errors.
...
Allows them to be enabled/disabled separately.
2015-09-10 18:38:45 +12:00
8aed7589ae
Fix building with PCH disabled.
2015-09-04 10:34:45 -05:00
c38ae5236e
Fix building with PCH disabled.
2015-07-08 13:52:43 -05:00
a725c06425
Logging: trigger _assert_() in release builds
2015-06-24 15:16:55 +02:00
5b23182793
Common: drop GEKKO define
...
Afaict, it was used to build parts of Dolphin with DSPSpy, but that's
been broken forever, so lets clean up a little bit.
2015-06-24 12:13:41 +02:00
6fb8ce58d6
Honor logging settings at startup
...
https://code.google.com/p/dolphin-emu/issues/detail?id=7959
2015-05-28 09:28:23 +02:00
30ebb2459e
Set copyright year to when a file was created
2015-05-25 13:22:31 +02:00
cefcb0ace9
Update license headers to GPLv2+
2015-05-25 13:22:31 +02:00
b0613bb1c8
General: Apply the const specifier where applicable
2015-04-15 02:04:03 -04:00
0a79b6d5a7
[windows] Remove ConsoleListener, which was not actually used.
...
Replace it with the DebuggerLogListener.
2015-03-15 22:11:18 -07:00
93b16a4a2d
Formatting/Whitespace Cleanup
...
Various fixes to formatting and whitespace
2015-02-25 10:48:21 -05:00
1ed41672f5
OGL: disable driver warnings fetch
...
This did give a decent slowdown on some drivers.
2014-12-28 22:31:24 +01:00
884ec2ed13
Host: Kill off Host_SysMessage
...
Equivalent facilities already exist.
2014-11-05 02:30:48 -05:00
9302218a19
Merge pull request #851 from lioncash/logg
...
Common: Kill off duplicate log warning definitions
2014-09-06 12:35:19 -07:00
690ed8580c
Common: Kill off duplicate log warning definitions
...
Also embed the log checks rather than using macros
2014-09-06 15:11:29 -04:00
22d2c7d053
Read the config file before enabling logs.
2014-09-03 19:50:02 -04:00
1d706b2311
Get rid of C-style empty function parameter indicators
2014-08-30 15:23:48 -04:00
d18d3e1f3e
Common: Get rid of StdConditionVariable, StdMutex, and StdThread.
...
All of the compilers we support have support for these now.
2014-08-16 23:33:19 -04:00