Github   Telegram
Loading...
Searching...
No Matches
loggable_component_base.hpp
Go to the documentation of this file.
1#pragma once
2
7
9#include <userver/components/impl/component_base.hpp>
10
11USERVER_NAMESPACE_BEGIN
12
13namespace components {
14
19class LoggableComponentBase : public impl::ComponentBase {
20 public:
22
25
29 ~LoggableComponentBase() override = default;
30
37 }
38
44 void OnLoadingCancelled() override {}
45
53 void OnAllComponentsLoaded() override {}
54
60 void OnAllComponentsAreStopping() override {}
61
62 static yaml_config::Schema GetStaticConfigSchema();
63};
64
65} // namespace components
66
67USERVER_NAMESPACE_END