6#include <userver/concurrent/variable.hpp>
7#include <userver/logging/level.hpp>
8#include <userver/server/handlers/http_handler_base.hpp>
10USERVER_NAMESPACE_BEGIN
16namespace server::handlers {
51 LogLevel(
const components::ComponentConfig& config,
52 const components::ComponentContext& component_context);
59 request::RequestContext&)
const override;
64 std::string ProcessGet(
const http::HttpRequest& request,
65 request::RequestContext&)
const;
66 std::string ProcessPut(
const http::HttpRequest& request,
67 request::RequestContext&)
const;
72 mutable std::unordered_map<std::string, logging::Level> init_levels;
74 concurrent::Variable<Data> data_;
80inline constexpr bool components::kHasValidate<server::handlers::LogLevel> =