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
openmsx::CliComm::printProgress
void printProgress(std::string_view message)
Definition: CliComm.cc:20
openmsx::CliComm::WARNING
Definition: CliComm.hh:15
openmsx::CliComm::LOGLEVEL_ERROR
Definition: CliComm.hh:16
openmsx::CliComm::printInfo
void printInfo(std::string_view message)
Definition: CliComm.cc:5
openmsx::CliComm::printWarning
void printWarning(std::string_view message)
Definition: CliComm.cc:10
openmsx::CliComm::log
virtual void log(LogLevel level, std::string_view message)=0
openmsx::CliComm::printError
void printError(std::string_view message)
Definition: CliComm.cc:15
openmsx::CliComm::INFO
Definition: CliComm.hh:14
CliComm.hh
openmsx::CliComm::PROGRESS
Definition: CliComm.hh:17
openmsx
Thanks to enen for testing this on a real cartridge:
Definition: Autofire.cc:5