6#include <userver/components/component_fwd.hpp>
7#include <userver/components/impl/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;
44class LoggingConfigurator
final :
public impl::ComponentBase {
50 LoggingConfigurator(
const ComponentConfig& config,
51 const ComponentContext& context);
53 ~LoggingConfigurator()
override;
58 void OnConfigUpdate(
const dynamic_config::Snapshot& config);
60 concurrent::AsyncEventSubscriberScope config_subscription_;
61 rcu::Variable<logging::DynamicDebugConfig> dynamic_debug_;