#1823·spdlog

use std::source_location and replace macros with constexpr functions

Author: L0ric0Created Feb 8, 2021Updated Feb 2, 2026
Labelsenhancement

c++ 20 added std::source_location which provides the current file, line, collumn and function name. as I understand the SPDLOG_info ... macros are only needed to get this informations, so it would be nice to replace the macros with constexpr functions for c++ 20 code (std::source_location is currently supported on gcc trunk)