I like my debug output really pretty

This commit is contained in:
Ulrich Mohr 2022-02-17 16:27:59 +01:00
parent 334ba6d4bf
commit 090979e5a9

View File

@ -1,10 +1,10 @@
#include <fsfw/serviceinterface/ServiceInterfaceStream.h>
#ifdef LINUX
ServiceInterfaceStream sif::debug("DEBUG");
ServiceInterfaceStream sif::info("INFO");
ServiceInterfaceStream sif::debug("DEBUG ");
ServiceInterfaceStream sif::info("INFO ");
ServiceInterfaceStream sif::warning("WARNING");
ServiceInterfaceStream sif::error("ERROR", false, false, true);
ServiceInterfaceStream sif::error("ERROR ", false, true, true);
#else
ServiceInterfaceStream sif::debug("DEBUG", true);
ServiceInterfaceStream sif::info("INFO", true);