summaryrefslogtreecommitdiffstats
path: root/src/common/logging/backend.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* logging/backend: Move CreateEntry into the Impl classLioncash2019-03-021-4/+0
| | | | | This function is only ever used within this source file and makes it easier to remove static state in the following change.
* threadsafe_queue: Add WaitIfEmpty and use it in loggingB3n302019-02-151-0/+1
|
* logging: Add DebuggerBackend for logging to Visual StudioCarl Kenner2018-10-071-0/+14
|
* Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi2018-09-151-1/+1
|
* logging/backend: Add missing standard includesLioncash2018-07-201-2/+0
| | | | | A few inclusions were being satisfied indirectly. To prevent breakages in the future, include these directly.
* logging/backend: Use std::string_view in RemoveBackend() and GetBackend()Lioncash2018-07-201-2/+3
| | | | | | These can just use a view to a string since its only comparing against two names in both cases for matches. This avoids constructing std::string instances where they aren't necessary.
* Add configurable logging backendsJames Rowe2018-07-031-3/+84
|
* Logging: Create logging macros based on fmtlibDaniel Lim Wee Soong2018-03-221-2/+5
| | | | | | | | | Add a new set of logging macros based on fmtlib Similar but not exactly the same as https://github.com/citra-emu/citra/pull/3533 Citra currently uses a different version of fmt, which does not support FMT_VARIADIC so make_args is used instead. On the other hand, yuzu uses fmt 4.1.0 which doesn't have make_args yet so FMT_VARIADIC is used.
* Format: Run the new clang format on everythingJames Rowe2018-01-211-1/+1
|
* Remove empty newlines in #include blocks.Emmanuel Gil Peyrot2016-09-211-1/+0
| | | | | | | This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
* Sources: Run clang-format on everything.Emmanuel Gil Peyrot2016-09-181-4/+2
|
* backend: defaulted move constructor/assignmentLioncash2016-02-051-18/+2
|
* Common: Remove async loggingYuri Kunde Schlesner2015-05-121-80/+12
| | | | | | | | | | | It provided a large increase in complexity of the logging system while having a negligible performance impact: the usage patterns of the ring buffer meant that each log contended with the logging thread, causing it to effectively act as a synchronous extra buffering. Also removed some broken code related to filtering of subclasses which was broken since it was introduced. (Which means no one ever used that feature anyway, since, 8 months later, no one ever complained.)
* Logging: check for filter before sending to the queue, to skip all heavy formatting on the other thread.Emmanuel Gil Peyrot2015-03-061-0/+3
|
* License changepurpasmart962014-12-211-1/+1
|
* New logging systemYuri Kunde Schlesner2014-12-131-0/+134