#include <CLoggerZenity.hpp>
|
| CLoggerZenity (const std::string &title) |
|
| ~CLoggerZenity () override |
|
void | message (const std::string &txtMessage) override |
|
void | warning (const std::string &txtWarning) override |
|
void | error (const std::string &txtError) override |
|
bool | hasError () const override |
|
void | showInform () |
|
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 |
|
|
static void | showInfoDialog (std::string_view msg) |
| Show a zenity dialog with the message.
|
|
static void | showErrorDialog (std::string_view msg) |
| Show a zenity dialog with the message.
|
|
◆ CLoggerZenity()
CLoggerZenity::CLoggerZenity |
( |
const std::string & | title | ) |
|
|
explicit |
◆ ~CLoggerZenity()
CLoggerZenity::~CLoggerZenity |
( |
| ) |
|
|
override |
◆ error()
void CLoggerZenity::error |
( |
const std::string & | txtError | ) |
|
|
overridevirtual |
◆ hasError()
bool CLoggerZenity::hasError |
( |
| ) |
const |
|
nodiscardoverridevirtual |
◆ 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 CLoggerZenity::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 |
◆ showErrorDialog()
void CLoggerZenity::showErrorDialog |
( |
std::string_view | msg | ) |
|
|
static |
Show a zenity dialog with the message.
- Parameters
-
◆ showInfoDialog()
void CLoggerZenity::showInfoDialog |
( |
std::string_view | msg | ) |
|
|
static |
Show a zenity dialog with the message.
- Parameters
-
◆ showInform()
void CLoggerZenity::showInform |
( |
| ) |
|
◆ showMessagesError()
void AbstractLog::showMessagesError |
( |
const std::vector< std::string > & | messagesError | ) |
|
|
inherited |
◆ warning()
void CLoggerZenity::warning |
( |
const std::string & | txtWarning | ) |
|
|
overridevirtual |
◆ m_errors
std::vector<std::string> CLoggerZenity::m_errors {} |
|
private |
◆ m_messages
std::vector<std::string> CLoggerZenity::m_messages {} |
|
private |
◆ m_title
std::string CLoggerZenity::m_title |
|
private |
◆ m_warnings
std::vector<std::string> CLoggerZenity::m_warnings {} |
|
private |
The documentation for this class was generated from the following files: