openMSX
CliComm.cc
Go to the documentation of this file.
1 #include "CliComm.hh"
2 
3 namespace openmsx {
4 
5 void CliComm::printInfo(std::string_view message)
6 {
7  log(INFO, message);
8 }
9 
10 void CliComm::printWarning(std::string_view message)
11 {
12  log(WARNING, message);
13 }
14 
15 void CliComm::printError(std::string_view message)
16 {
17  log(LOGLEVEL_ERROR, message);
18 }
19 
20 void CliComm::printProgress(std::string_view message)
21 {
22  log(PROGRESS, message);
23 }
24 
25 } // namespace openmsx
void printProgress(std::string_view message)
Definition: CliComm.cc:20
void printError(std::string_view message)
Definition: CliComm.cc:15
void printInfo(std::string_view message)
Definition: CliComm.cc:5
virtual void log(LogLevel level, std::string_view message)=0
Thanks to enen for testing this on a real cartridge:
Definition: Autofire.cc:5
void printWarning(std::string_view message)
Definition: CliComm.cc:10