Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
AbstractLog Class Referenceabstract

#include <AbstractLog.hpp>

Inheritance diagram for AbstractLog:
[legend]

Public Member Functions

 AbstractLog ()
 Construct a new Abstract Log:: Abstract Log object.
 
 AbstractLog (const AbstractLog &other)=delete
 
 AbstractLog (AbstractLog &&other)=delete
 
virtual ~AbstractLog ()
 Destroy the Abstract Log:: Abstract Log object.
 
virtual void message (const std::string &txtMessage)=0
 
virtual void warning (const std::string &txtWarning)=0
 
virtual void error (const std::string &txtError)=0
 
void line (uint64_t numCar)
 Show in the console a line with the given number of hyphens

 
void showMessagesError (const std::vector< std::string > &messagesError)
 
void printMessage (const char *format,...) __attribute__((format(printf
 
void void printWarning (const char *format,...) __attribute__((format(printf
 
void void void printError (const char *format,...) __attribute__((format(printf
 
void void void virtual bool hasError () const =0
 

Constructor & Destructor Documentation

◆ AbstractLog() [1/3]

AbstractLog::AbstractLog ( )
default

Construct a new Abstract Log:: Abstract Log object.

◆ AbstractLog() [2/3]

AbstractLog::AbstractLog ( const AbstractLog & other)
delete

◆ AbstractLog() [3/3]

AbstractLog::AbstractLog ( AbstractLog && other)
delete

◆ ~AbstractLog()

AbstractLog::~AbstractLog ( )
virtualdefault

Destroy the Abstract Log:: Abstract Log object.

Member Function Documentation

◆ error()

virtual void AbstractLog::error ( const std::string & txtError)
pure virtual

◆ hasError()

void void void virtual bool AbstractLog::hasError ( ) const
nodiscardpure virtual

◆ line()

void AbstractLog::line ( uint64_t numCar)

Show in the console a line with the given number of hyphens

Parameters
numCarThe number of hyphens that is wanted to print

◆ message()

virtual void AbstractLog::message ( const std::string & txtMessage)
pure virtual

◆ printError()

void AbstractLog::printError ( const char * format,
... )

◆ printMessage()

void AbstractLog::printMessage ( const char * format,
... )

◆ printWarning()

void AbstractLog::printWarning ( const char * format,
... )

◆ showMessagesError()

void AbstractLog::showMessagesError ( const std::vector< std::string > & messagesError)

◆ warning()

virtual void AbstractLog::warning ( const std::string & txtWarning)
pure virtual

The documentation for this class was generated from the following files: