19 std::lock_guard<std::mutex> lock(
m_mutex);
22 "UI error presenter not configured; falling back to logs");
Logging facade for application-wide logging.
Presents user-facing error information via the current UI backend.
Definition IErrorPresenter.hpp:10
Logger-backed fallback when no concrete UI presenter is registered.
Definition NoopErrorPresenter.hpp:13
std::mutex m_mutex
Definition NoopErrorPresenter.hpp:29
void ShowError(std::string_view message) override
Display an error message to the user.
Definition NoopErrorPresenter.hpp:17
bool m_loggedOnce
Definition NoopErrorPresenter.hpp:30
bool CanShowDialogs() const noexcept override
Definition NoopErrorPresenter.hpp:15
static void Warn(fmt::format_string< Args... > fmt, Args &&... args)
Definition Logger.hpp:297
static void Error(fmt::format_string< Args... > fmt, Args &&... args)
Definition Logger.hpp:303
Definition IErrorPresenter.hpp:5