1#ifndef LIBS_CORE_ABSTRACTLOG_HPP_
2#define LIBS_CORE_ABSTRACTLOG_HPP_
16 virtual void message(
const std::string &txtMessage) = 0;
17 virtual void warning(
const std::string &txtWarning) = 0;
18 virtual void error(
const std::string &txtError) = 0;
20 void line(uint64_t numCar);
22 void printMessage(
const char *format, ...) __attribute__((format(printf, 2, 3)));
23 void printWarning(const
char *format, ...) __attribute__((format(printf, 2, 3)));
24 void printError(const
char *format, ...) __attribute__((format(printf, 2, 3)));
26 [[nodiscard]] virtual
bool hasError() const = 0;
Definition AbstractLog.hpp:9
void void void printError(const char *format,...) __attribute__((format(printf
Definition AbstractLog.cpp:77
void void void virtual bool hasError() const =0
AbstractLog(const AbstractLog &other)=delete
void line(uint64_t numCar)
Show in the console a line with the given number of hyphens
Definition AbstractLog.cpp:29
void printMessage(const char *format,...) __attribute__((format(printf
Definition AbstractLog.cpp:45
virtual void message(const std::string &txtMessage)=0
virtual void error(const std::string &txtError)=0
void showMessagesError(const std::vector< std::string > &messagesError)
Definition AbstractLog.cpp:36
void void printWarning(const char *format,...) __attribute__((format(printf
Definition AbstractLog.cpp:61
AbstractLog(AbstractLog &&other)=delete
AbstractLog()
Construct a new Abstract Log:: Abstract Log object.
virtual ~AbstractLog()
Destroy the Abstract Log:: Abstract Log object.
virtual void warning(const std::string &txtWarning)=0