summaryrefslogtreecommitdiff
path: root/src/logger/phosphor.cpp
blob: d3c81b0943d34ae350a9d2bda6b48804dc7fa626 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <phosphor-logging/elog-errors.hpp>
#include <phosphor-logging/elog.hpp>
#include <xyz/openbmc_project/Common/error.hpp>

#include "phosphor.hpp"

namespace smtp::logger
{
	void Phosphor::LogError( std::string const& message ) const
	{
		using InternalFailure =
				sdbusplus::xyz::openbmc_project::Common::Error::InternalFailure;
		phosphor::logging::commit<InternalFailure>(message);
	}
}