// Copyright (C) 2025 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#include "navigatortracing.h"



namespace QmlDesigner::NavigatorTracing {
using namespace NanotraceHR::Literals;

#ifdef ENABLE_NAVIGATOR_TRACING

namespace {

thread_local Category category_{"navigator",
                                Tracing::eventQueueWithStringArguments(),
                                Tracing::eventQueueWithoutArguments(),
                                category};

} // namespace

Category &category()
{
    return category_;
}

#endif

} // namespace QmlDesigner::NavigatorTracing
