19#define DEFAULT_LOG_LEVEL Loglevel::INFO
64 Loglevel level = DEFAULT_LOG_LEVEL);
Elog * disableLogger()
Creates a logger without the ability to print messages.
LoggerClass
Enumerates every log class that represents the part of the library which is being logged.
@ SUBSCRIBER
Subscriber log class.
@ BROKER
Broker log class.
@ UNKNOWN
Log class unknown or generic.
@ PUBLISHER
Publisher log class.
Elog * initializeSerialLogger(LoggerClass className, Loglevel level=DEFAULT_LOG_LEVEL)
Creates a logger that prints messages to the serial monitor.
Elog * initializeSDLogger(LoggerClass className, int cs, int sck, int miso, int mosi, Loglevel level=DEFAULT_LOG_LEVEL)
Creates a logger that prints messages to a file inside a SD card.