summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Config/LogConfigWidget.cpp
AgeCommit message (Collapse)Author
2026-01-25Remove unused importsMartino Fontana
Yellow squiggly lines begone! Done automatically on .cpp files through `run-clang-tidy`, with manual corrections to the mistakes. If an import is directly used, but is technically unnecessary since it's recursively imported by something else, it is *not* removed. The tool doesn't touch .h files, so I did some of them by hand while fixing errors due to old recursive imports. Not everything is removed, but the cleanup should be substantial enough. Because this done on Linux, code that isn't used on it is mostly untouched. (Hopefully no open PR is depending on these imports...)
2025-09-19Logging: Don't overwrite LDEBUG verbosity in Release buildsDentomologist
Preserve the configured logging verbosity unless the user actually changes it, rather than capping it to LINFO on release builds. Rename LogManager::m_level to m_effective_level and distinguish between the config and effective level in various function/variable names. Make m_effective_level atomic to prevent data races when setting the effective log level from the config changed callback.
2023-04-04DolphinQt: Fix leak in LogConfigWidgetMichael Cook (mackal)
The m_verbosity_debug button was only conditionally being added as widget, this was done in order to hide the object, but this left it unmanaged. Unconditionally adding it to the layout and controlling it's visibility will resolve these issues
2021-10-24Convert LOG_TYPE and LOG_LEVELS to enum classPokechu22
2021-10-15Turn MAX_LOGLEVEL into a true constant (and fix self-comparison warning)Léo Lam
This replaces the MAX_LOGLEVEL define with a constexpr variable in order to fix self-comparison warnings in the logging macros when compiling with Clang. (Without this change, the log level check in the logging macros is expanded into something like this: `if (LINFO <= LINFO)`, which triggers a tautological compare warning.)
2021-07-05treewide: convert GPLv2+ license info to SPDX tagsPierre Bourdon
SPDX standardizes how source code conveys its copyright and licensing information. See https://spdx.github.io/spdx-spec/1-rationale/ . SPDX tags are adopted in many large projects, including things like the Linux kernel.
2019-11-28Common: Unify logging namespace with CommonLioncash
Previously the logging was a in a little bit of a disarray. Some things were in namespaces, and other things were not. Given this code will feature a bit of restructuring during the transition over to fmt, this is a good time to unify it under a single namespace and also remove functions and types from the global namespace. Now, all functions and types are under the Common::Log namespace. The only outliers being, of course, the preprocessor macros.
2019-05-11Qt/LogConfigWidget: Show log type short namesLéo Lam
Makes it easier for users to determine which option they need to enable/disable as log messages only show the short name.
2019-05-08DolphinQt: Use LogTypes::LOG_LEVELS instead of magic numbersLéo Lam
Also gets rid of two unnecessary casts.
2019-05-08DolphinQt: Add debug log option in GUI for debug buildsFrank
2018-07-07Move DolphinQt2 to DolphinQtspycrab