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 <cstdint>
7#include <memory>
8
9USERVER_NAMESPACE_BEGIN
10
11namespace logging {
12
13namespace impl {
14
15class LoggerBase;
16class TextLogger;
17
18} // namespace impl
19
20using LoggerRef = impl::LoggerBase&;
21using LoggerPtr = std::shared_ptr<impl::LoggerBase>;
22using TextLoggerRef = impl::TextLogger&;
23using TextLoggerPtr = std::shared_ptr<impl::TextLogger>;
24
25class LogHelper;
26
27class LogExtra;
28
29enum class Level : std::uint8_t;
30
31} // namespace logging
32
33USERVER_NAMESPACE_END