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 | |
Algorithms to aid logging.
Definition in file log.hpp.