const char *function)
{
// sd-journal imports LOG priorities from the syslog, see syslog(3) for details
- sd_journal_print(LOG_DEBUG, "%s: %s", m_tag.c_str(),
+ sd_journal_print(LOG_DEBUG, "%s",
(FormatMessage(message, filename, line, function)).c_str());
}
int line,
const char *function)
{
- sd_journal_print(LOG_INFO, "%s: %s", m_tag.c_str(),
+ sd_journal_print(LOG_INFO, "%s",
(FormatMessage(message, filename, line, function)).c_str());
}
int line,
const char *function)
{
- sd_journal_print(LOG_WARNING, "%s: %s", m_tag.c_str(),
+ sd_journal_print(LOG_WARNING, "%s",
(FormatMessage(message, filename, line, function)).c_str());
}
int line,
const char *function)
{
- sd_journal_print(LOG_ERR, "%s: %s", m_tag.c_str(),
+ sd_journal_print(LOG_ERR, "%s",
(FormatMessage(message, filename, line, function)).c_str());
}