userver: userver/logging/format.hpp Source File
Loading...
Searching...
No Matches
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