Provide source location support for systemd_sink.h

This commit is contained in:
Jorge Bellon-Castro
2019-06-27 15:00:12 +01:00
parent 3d069f7b46
commit a13981ffe4
3 changed files with 27 additions and 8 deletions

View File

@@ -8,6 +8,6 @@ TEST_CASE("systemd", "[all]")
spdlog::logger logger("spdlog_systemd_test", systemd_sink);
logger.debug("test debug");
logger.error("test error");
SPDLOG_LOGGER_ERROR((&logger), "test error");
logger.info("test info");
}