userver: userver/logging/level_serialization.hpp Source File
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
level_serialization.hpp
Go to the documentation of this file.
1#pragma once
2
3/// @file userver/logging/level_serialization.hpp
4/// @brief Serialization of log levels
5/// @ingroup userver_formats_parse
6
7#include <userver/formats/json_fwd.hpp>
8#include <userver/logging/level.hpp>
9#include <userver/yaml_config/fwd.hpp>
10
11USERVER_NAMESPACE_BEGIN
12
13namespace logging {
14
15Level Parse(const yaml_config::YamlConfig& value, formats::parse::To<Level>);
16
17Level Parse(const formats::json::Value& value, formats::parse::To<Level>);
18
19} // namespace logging
20
21USERVER_NAMESPACE_END