summaryrefslogtreecommitdiff
path: root/src/common/logging/backend.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* logging/backend: Add missing standard includesGravatar Lioncash2018-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()Gravatar 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 backendsGravatar James Rowe2018-07-021-3/+84
|
* Logging: Create logging macros based on fmtlibGravatar Daniel 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 everythingGravatar James Rowe2018-01-201-1/+1
|
* Remove empty newlines in #include blocks.Gravatar 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.Gravatar Emmanuel Gil Peyrot2016-09-181-4/+2
|
* backend: defaulted move constructor/assignmentGravatar Lioncash2016-02-041-18/+2
|
* Common: Remove async loggingGravatar Yuri 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 ↵Gravatar Emmanuel Gil Peyrot2015-03-061-0/+3
| | | | formatting on the other thread.
* License changeGravatar purpasmart962014-12-201-1/+1
|
* New logging systemGravatar Yuri Kunde Schlesner2014-12-131-0/+134