fsfw-example-common/example/test/testFmt.cpp
2022-05-09 00:09:39 +02:00

14 lines
484 B
C++

#include "fsfw/serviceinterface/fmtWrapper.h"
void fmtTests() {
sif::initialize();
sif::debug(__FILENAME__, __LINE__, "Hello {}", "World\n");
sif::debug_t(__FILENAME__, __LINE__, "Hallo\n");
FSFW_FLOGD("{}", "Hallo\n");
sif::info_t("Hallo\n");
sif::info("Hallo\n");
sif::warning(__FILENAME__, __LINE__, "Hello\n");
sif::warning_t(__FILENAME__, __LINE__, "Hello\n");
sif::error(__FILENAME__, __LINE__, "Hello\n");
sif::error_t(__FILENAME__, __LINE__, "Hello\n");
}