userver: userver/utils/log.hpp File Reference
Loading...
Searching...
No Matches
log.hpp File Reference

Detailed Description

Algorithms to aid logging.

Definition in file log.hpp.

Go to the source code of this file.

#include <string_view>
+ Include dependency graph for log.hpp:
+ This graph shows which files directly or indirectly include 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