6#include <userver/components/component_fwd.hpp>
7#include <userver/components/raw_component_base.hpp>
8#include <userver/concurrent/async_event_source.hpp>
9#include <userver/dynamic_config/source.hpp>
10#include <userver/rcu/rcu.hpp>
12USERVER_NAMESPACE_BEGIN
15struct DynamicDebugConfig;
50 LoggingConfigurator(
const ComponentConfig& config,
const ComponentContext& context);
52 ~LoggingConfigurator()
override;
57 void OnConfigUpdate(
const dynamic_config::Snapshot& config);
59 concurrent::AsyncEventSubscriberScope config_subscription_;
60 rcu::Variable<logging::DynamicDebugConfig> dynamic_debug_;