#include <StartingLog.hpp>
|
| StartingLog ()=default |
|
| ~StartingLog () override=default |
|
void | message (const std::string &txtMessage) override |
|
void | warning (const std::string &txtWarning) override |
|
void | error (const std::string &txtError) override |
|
void | critical (std::string_view txtCritical) |
| Add a critical message that will prevent program from starting.
|
|
bool | hasWarnings () const |
|
bool | hasError () const override |
|
bool | hasCriticals () const |
|
const std::vector< std::string > & | getMessages () const |
|
const std::vector< std::string > & | getWarnings () const |
|
const std::vector< std::string > & | getErrors () const |
|
const std::vector< std::string > & | getCriticalMessages () const |
|
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 |
|
◆ StartingLog()
iv::logs::StartingLog::StartingLog |
( |
| ) |
|
|
default |
◆ ~StartingLog()
iv::logs::StartingLog::~StartingLog |
( |
| ) |
|
|
overridedefault |
◆ createNewInstance()
std::weak_ptr< StartingLog > iv::logs::StartingLog::createNewInstance |
( |
| ) |
|
|
static |
◆ critical()
void iv::logs::StartingLog::critical |
( |
std::string_view | txtCritical | ) |
|
Add a critical message that will prevent program from starting.
- Parameters
-
◆ deleteInstance()
void iv::logs::StartingLog::deleteInstance |
( |
| ) |
|
|
static |
◆ error()
void iv::logs::StartingLog::error |
( |
const std::string & | txtError | ) |
|
|
overridevirtual |
◆ get()
std::weak_ptr< StartingLog > iv::logs::StartingLog::get |
( |
| ) |
|
|
static |
◆ getCriticalMessages()
const std::vector< std::string > & iv::logs::StartingLog::getCriticalMessages |
( |
| ) |
const |
|
nodiscard |
◆ getErrors()
const std::vector< std::string > & iv::logs::StartingLog::getErrors |
( |
| ) |
const |
|
nodiscard |
◆ getMessages()
const std::vector< std::string > & iv::logs::StartingLog::getMessages |
( |
| ) |
const |
|
nodiscard |
◆ getWarnings()
const std::vector< std::string > & iv::logs::StartingLog::getWarnings |
( |
| ) |
const |
|
nodiscard |
◆ hasCriticals()
bool iv::logs::StartingLog::hasCriticals |
( |
| ) |
const |
|
nodiscard |
◆ hasError()
bool iv::logs::StartingLog::hasError |
( |
| ) |
const |
|
nodiscardoverridevirtual |
◆ hasWarnings()
bool iv::logs::StartingLog::hasWarnings |
( |
| ) |
const |
|
nodiscard |
◆ line()
void AbstractLog::line |
( |
uint64_t | numCar | ) |
|
|
inherited |
Show in the console a line with the given number of hyphens
- Parameters
-
numCar | The number of hyphens that is wanted to print |
◆ message()
void iv::logs::StartingLog::message |
( |
const std::string & | txtMessage | ) |
|
|
overridevirtual |
◆ printError()
void AbstractLog::printError |
( |
const char * | format, |
|
|
| ... ) |
|
inherited |
◆ printMessage()
void AbstractLog::printMessage |
( |
const char * | format, |
|
|
| ... ) |
|
inherited |
◆ printWarning()
void AbstractLog::printWarning |
( |
const char * | format, |
|
|
| ... ) |
|
inherited |
◆ showMessagesError()
void AbstractLog::showMessagesError |
( |
const std::vector< std::string > & | messagesError | ) |
|
|
inherited |
◆ warning()
void iv::logs::StartingLog::warning |
( |
const std::string & | txtWarning | ) |
|
|
overridevirtual |
◆ m_criticals
std::vector<std::string> iv::logs::StartingLog::m_criticals {} |
|
private |
◆ m_errors
std::vector<std::string> iv::logs::StartingLog::m_errors {} |
|
private |
◆ m_instance
std::shared_ptr< StartingLog > iv::logs::StartingLog::m_instance {nullptr} |
|
staticprivate |
◆ m_messages
std::vector<std::string> iv::logs::StartingLog::m_messages {} |
|
private |
◆ m_warnings
std::vector<std::string> iv::logs::StartingLog::m_warnings {} |
|
private |
The documentation for this class was generated from the following files: