summaryrefslogtreecommitdiffstats
path: root/src/common/logging/backend.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-04-20log/backend: Use in-class initializer for FileBackendLioncash1-2/+2
We can also avoid redundant constructions of the same string repeatedly.
2021-04-15common/log: Move Log namespace into the Common namespaceLioncash1-2/+2
Forgot to move this over when I moved the rest of the source files with lacking namespaces over.
2020-08-16common/fileutil: Convert namespace to Common::FSLioncash1-1/+1
Migrates a remaining common file over to the Common namespace, making it consistent with the rest of common files. This also allows for high-traffic FS related code to alias the filesystem function namespace as namespace FS = Common::FS; for more concise typing.
2020-08-03logging/backend: Make use of designated initializersLioncash1-10/+4
Same behavior, less code.
2020-01-23common/logging: don't use regex for path trimmingBreadFish641-1/+1
2019-03-02logging/backend: Move CreateEntry into the Impl classLioncash1-4/+0
This function is only ever used within this source file and makes it easier to remove static state in the following change.
2019-02-15threadsafe_queue: Add WaitIfEmpty and use it in loggingB3n301-0/+1
2018-10-07logging: Add DebuggerBackend for logging to Visual StudioCarl Kenner1-0/+14
2018-09-15Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi1-1/+1
2018-07-20logging/backend: Add missing standard includesLioncash1-2/+0
A few inclusions were being satisfied indirectly. To prevent breakages in the future, include these directly.
2018-07-20logging/backend: Use std::string_view in RemoveBackend() and GetBackend()Lioncash1-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.
2018-07-03Add configurable logging backendsJames Rowe1-3/+84
2018-03-22Logging: Create logging macros based on fmtlibDaniel Lim Wee Soong1-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.
2018-01-21Format: Run the new clang format on everythingJames Rowe1-1/+1
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot1-1/+0
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot1-4/+2
2016-02-05backend: defaulted move constructor/assignmentLioncash1-18/+2
2015-05-12Common: Remove async loggingYuri Kunde Schlesner1-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.)
2015-03-06Logging: check for filter before sending to the queue, to skip all heavy formatting on the other thread.Emmanuel Gil Peyrot1-0/+3
2014-12-21License changepurpasmart961-1/+1
2014-12-13New logging systemYuri Kunde Schlesner1-0/+134