#pragma once #include #include namespace ugly { /** * \brief Interface for a generic log-like object. */ class ILogFacility { public: ~ILogFacility() = default; /** * \brief Put a message into the log, \c std::vformat -style. * \param fmt Format string. * \param args Format arguments. */ virtual void vlog(std::string_view fmt, std::format_args args) = 0; }; }