userver: userver/components/dump_configurator.hpp Source File
Loading...
Searching...
No Matches
dump_configurator.hpp
Go to the documentation of this file.
1#pragma once
2
5
6#include <string>
7
10
11USERVER_NAMESPACE_BEGIN
12
13namespace components {
14
30class DumpConfigurator final : public ComponentBase {
31public:
34 static constexpr std::string_view kName = "dump-configurator";
35
36 DumpConfigurator(const ComponentConfig& config, const ComponentContext& context);
37
38 const std::string& GetDumpRoot() const;
39
41
42private:
43 const std::string dump_root_;
44};
45
46template <>
47inline constexpr bool kHasValidate<DumpConfigurator> = true;
48
49} // namespace components
50
51USERVER_NAMESPACE_END