#include <print.hpp>
|
| static void | init (bool batch, bool formatted, std::string version, fs::path log_dir) |
| |
◆ get_log_dir()
| const char * adaptyst::Terminal::get_log_dir |
( |
| ) |
|
◆ init()
| void adaptyst::Terminal::init |
( |
bool | batch, |
|
|
bool | formatted, |
|
|
std::string | version, |
|
|
fs::path | log_dir ) |
|
static |
◆ log()
| void adaptyst::Terminal::log |
( |
std::string | message, |
|
|
Identifiable * | source, |
|
|
std::string | log_type ) |
◆ print() [1/2]
| void adaptyst::Terminal::print |
( |
std::string | message, |
|
|
bool | sub, |
|
|
bool | error, |
|
|
bool | same_line = false ) |
Prints a message.
- Parameters
-
| message | A string to be printed. |
| sub | Indicates whether this message belongs to a subsection (i.e. whether it should be printed with the "->" prefix instead of "==>"). |
| error | Indicates whether this message is an error. |
| same_line | Indicates whether this message should be printed in the current terminal line rather than in a new line. Ignored if the batch mode is enabled. |
◆ print() [2/2]
| void adaptyst::Terminal::print |
( |
std::string | message, |
|
|
bool | sub, |
|
|
bool | error, |
|
|
Identifiable * | source, |
|
|
std::string | log_type ) |
◆ print_notice()
| void adaptyst::Terminal::print_notice |
( |
| ) |
|
Prints the version and licensing notice.
◆ set_log_dir()
| void adaptyst::Terminal::set_log_dir |
( |
fs::path | log_dir | ) |
|
◆ instance
| std::unique_ptr< Terminal > adaptyst::Terminal::instance = nullptr |
|
static |
The documentation for this class was generated from the following files: