userver: userver/utils/log.hpp File Reference
⚠️ 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
log.hpp File Reference

Algorithms to aid logging. More...

#include <string_view>
+ Include dependency graph for log.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  utils
 Utilities.
 
namespace  utils::log
 Algorithms to aid logging.
 

Functions

std::string utils::log::ToLimitedHex (std::string_view data, size_t limit)
 returns data converted to hex and truncated to limit
 
std::string utils::log::ToLimitedUtf8 (std::string_view data, size_t limit)
 if data in utf-8, returns data truncated to limit otherwise returns stub
 

Detailed Description

Algorithms to aid logging.

Definition in file log.hpp.