It would be nice to have a logger for spdlog
It'd be the same as the ScreenLogger except it would use spdlog::info instead of std::cout <<.
void onOutgoing(const std::string &value) override
{
if (!m_outgoing) {
return;
}
FIX::Locker l(s_mutex);
spdlog::debug("FIX outgoing: {}: {}", m_prefix, replaceSOHWithPipe(value));
}
It would be nice to have a logger for spdlog
It'd be the same as the
ScreenLoggerexcept it would usespdlog::infoinstead ofstd::cout <<.