openMSX
CliComm.cc
Go to the documentation of this file.
1#include "CliComm.hh"
2
3namespace openmsx {
4
5void CliComm::printInfo(std::string_view message)
6{
7 log(INFO, message);
8}
9
10void CliComm::printWarning(std::string_view message)
11{
12 log(WARNING, message);
13}
14
15void CliComm::printError(std::string_view message)
16{
17 log(LOGLEVEL_ERROR, message);
18}
19
20void 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 printInfo(std::string_view message)
Definition: CliComm.cc:5
void printError(std::string_view message)
Definition: CliComm.cc:15
void printWarning(std::string_view message)
Definition: CliComm.cc:10
virtual void log(LogLevel level, std::string_view message)=0
This file implemented 3 utility functions:
Definition: Autofire.cc:9