// DragonX Wallet - ImGui Edition
// Copyright 2024-2026 The Hush Developers
// Released under the GPLv3

#include "lite_diagnostics.h"

namespace dragonx {
namespace wallet {

// Single definition in one translation unit guarantees exactly one shared instance across the
// binary (writers in the controller/App, reader in the lite Console tab all see the same log).
LiteDiagnostics& LiteDiagnostics::instance()
{
    static LiteDiagnostics inst;
    return inst;
}

}  // namespace wallet
}  // namespace dragonx
