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,
const components::ComponentContext& component_context);
62 std::string ProcessGet(
const http::HttpRequest& request,
request::RequestContext&)
const;
63 std::string ProcessPut(
const http::HttpRequest& request,
request::RequestContext&)
const;
68 mutable std::unordered_map<std::string, logging::Level> init_levels;
70 concurrent::Variable<Data> data_;
76inline constexpr bool components::kHasValidate<server::handlers::LogLevel> =
true;