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
11/// @brief Logging levels, helpers, default logger, and related utilities.
12namespace logging {
13
14namespace impl {
15
16class LoggerBase;
17class TextLogger;
18
19} // namespace impl
20
21using LoggerRef = impl::LoggerBase&;
22using LoggerPtr = std::shared_ptr<impl::LoggerBase>;
23using TextLoggerRef = impl::TextLogger&;
24using TextLoggerPtr = std::shared_ptr<impl::TextLogger>;
25
26class LogHelper;
27
28class LogExtra;
29
30enum class Level : std::uint8_t;
31
32} // namespace logging
33
34USERVER_NAMESPACE_END