userver: userver/server/handlers/on_log_rotate.hpp Source File
Loading...
Searching...
No Matches
on_log_rotate.hpp
Go to the documentation of this file.
1#pragma once
2
5
7
8USERVER_NAMESPACE_BEGIN
9
10namespace components {
11class Logging;
12} // namespace components
13
14namespace server::handlers {
15
32class OnLogRotate final : public HttpHandlerBase {
33public:
34 OnLogRotate(const components::ComponentConfig& config, const components::ComponentContext& component_context);
35
38 static constexpr std::string_view kName = "handler-on-log-rotate";
39
41
43
44private:
45 components::Logging& logging_component_;
46};
47
48} // namespace server::handlers
49
50template <>
52
53USERVER_NAMESPACE_END