19#include <fmt/format.h>
20#include <fmt/printf.h>
21#include <fmt/ranges.h>
26---- Source Location ----
29-------------------------
40---- Source Location ----
45-------------------------
55 return fmt::format(
"{}:{}:{}", loc.file_name(), loc.line(), loc.column());
60 "{} ({}:{}:{})", loc.function_name(), loc.file_name(), loc.line(), loc.column());
std::string format_one_line_func(std::source_location loc)
format the location in a one liner with the function name displayed
std::string format_one_line(std::source_location loc)
format the location in a one liner
std::string format_multiline(std::source_location loc)
format the location in multiple lines