HighMap library (C++)
Loading...
Searching...
No Matches
hmap::log::detail Namespace Reference

Enumerations

enum class  Level { Trace , Info , Warn , Error }

Functions

const char * level_to_string (Level level)
constexpr std::string_view get_filename (std::string_view path)
std::string format_fixed_width (std::string_view str, size_t width)
void log_impl (Level level, std::string_view msg, const std::source_location &loc)

Enumeration Type Documentation

◆ Level

enum class hmap::log::detail::Level
strong
Enumerator
Trace 
Info 
Warn 
Error 

Function Documentation

◆ level_to_string()

const char * hmap::log::detail::level_to_string ( Level level)
inline

◆ get_filename()

std::string_view hmap::log::detail::get_filename ( std::string_view path)
constexpr

◆ format_fixed_width()

std::string hmap::log::detail::format_fixed_width ( std::string_view str,
size_t width )
inline

◆ log_impl()

void hmap::log::detail::log_impl ( Level level,
std::string_view msg,
const std::source_location & loc )
inline