|
GnuCash c935c2f+
|
messages for later display to the user. More...
Public Member Functions | |
| void | info (const char *message) |
| void | warn (const char *message) |
| void | error (const char *message) |
| void | clear () |
| bool | has_errors () |
| bool | has_warnings () |
| void | write_log (std::stringstream &stream, LogMsgType type) |
| void | infos (std::stringstream &stream) |
| void | warnings (std::stringstream &stream) |
| void | errors (std::stringstream &stream) |
| std::string | report () |
| Compose all of the logged messages into a bullet list, errors first, then warnings, infos last. | |
messages for later display to the user.
Proveds 3 categories: error, warning, and info.
Functions are simple accessors and setters unless noted.
Definition at line 449 of file assistant-stock-transaction.cpp.
|
inline |
Definition at line 456 of file assistant-stock-transaction.cpp.
|
inline |
Definition at line 455 of file assistant-stock-transaction.cpp.
|
inline |
Definition at line 462 of file assistant-stock-transaction.cpp.
| bool Logger::has_errors | ( | ) |
Definition at line 490 of file assistant-stock-transaction.cpp.
| bool Logger::has_warnings | ( | ) |
Definition at line 482 of file assistant-stock-transaction.cpp.
|
inline |
Definition at line 453 of file assistant-stock-transaction.cpp.
|
inline |
Definition at line 460 of file assistant-stock-transaction.cpp.
| std::string Logger::report | ( | ) |
Compose all of the logged messages into a bullet list, errors first, then warnings, infos last.
Definition at line 498 of file assistant-stock-transaction.cpp.
|
inline |
Definition at line 454 of file assistant-stock-transaction.cpp.
|
inline |
Definition at line 461 of file assistant-stock-transaction.cpp.
| void Logger::write_log | ( | std::stringstream & | stream, |
| LogMsgType | type | ||
| ) |
Definition at line 472 of file assistant-stock-transaction.cpp.