#include <spdlog/spdlog.h>
#include "./event.hpp"
#include "../../protocol/transform/facade.hpp"

namespace lsp::provider::telemetry
{
    std::string Event::GetMethod() const
    {
        return "telemetry/event";
    }

    std::string Event::GetProviderName() const
    {
        return "TelemetryEvent";
    }

    void Event::HandleNotification(const protocol::NotificationMessage& notification, ExecutionContext& context)
    {
        static_cast<void>(context);
        spdlog::debug("TelemetryEventProvider: Handling notification for method {}", notification.method);

        // TODO: Implement the actual notification handling logic
        // 1. Parse notification parameters
        // 2. Update appropriate services/state
        // 3. Trigger any necessary side effects
    }
}
