Files
tsl-devkit/lsp-server/src/provider/telemetry/event.cpp
T
2025-12-05 21:03:18 +08:00

27 lines
783 B
C++

#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, [[maybe_unused]] ExecutionContext& 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
}
}