1 2 3 4 5 6 7 8 9 10 11
#include <phosphor-logging/elog-errors.hpp> #include "phosphor.hpp" namespace smtp::logger { void Phosphor::LogError( std::string const& message ) const { phosphor::logging::log < phosphor::logging::level::ERR >( message.c_str()); } }