| e8555c89 Andy McCall |
1 |
#include "CliComm.hh" |
| 2 |
|
| 3 |
namespace openmsx { |
| 4 |
|
| 5 |
using enum CliComm::LogLevel; |
| 6 |
|
| 7 |
void CliComm::printInfo(std::string_view message) |
| 8 |
{ |
| 9 |
log(INFO, message); |
| 10 |
} |
| 11 |
|
| 12 |
void CliComm::printWarning(std::string_view message) |
| 13 |
{ |
| 14 |
log(WARNING, message); |
| 15 |
} |
| 16 |
|
| 17 |
void CliComm::printError(std::string_view message) |
| 18 |
{ |
| 19 |
log(LOGLEVEL_ERROR, message); |
| 20 |
} |
| 21 |
|
| 22 |
void CliComm::printProgress(std::string_view message, float fraction) |
| 23 |
{ |
| 24 |
log(PROGRESS, message, fraction); |
| 25 |
} |
| 26 |
|
| 27 |
} |