userver: userver/logging/format.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
format.hpp
Go to the documentation of this file.
1#pragma once
2
3/// @file userver/logging/format.hpp
4/// @brief Log formats
5
6#include <string_view>
7
8USERVER_NAMESPACE_BEGIN
9
10namespace logging {
11
12/// Log formats
13enum class Format { kTskv, kLtsv, kRaw };
14
15/// Parse Format enum from string
16Format FormatFromString(std::string_view format_str);
17
18} // namespace logging
19
20USERVER_NAMESPACE_END