userver: userver/logging/fwd.hpp Source File
Loading...
Searching...
No Matches
fwd.hpp
Go to the documentation of this file.
1#pragma once
2
3/// @file userver/logging/fwd.hpp
4/// @brief Forward declarations for `logging` types
5
6#include <memory>
7
8USERVER_NAMESPACE_BEGIN
9
10namespace logging {
11
12namespace impl {
13
14class LoggerBase;
15class TextLogger;
16
17} // namespace impl
18
19using LoggerRef = impl::LoggerBase&;
20using LoggerPtr = std::shared_ptr<impl::LoggerBase>;
21using TextLoggerRef = impl::TextLogger&;
22using TextLoggerPtr = std::shared_ptr<impl::TextLogger>;
23
24class LogHelper;
25
26class LogExtra;
27
28} // namespace logging
29
30USERVER_NAMESPACE_END