openMSX
events
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,
float
fraction)
21
{
22
log
(
PROGRESS
, message, fraction);
23
}
24
25
}
// namespace openmsx
CliComm.hh
openmsx::CliComm::printInfo
void printInfo(std::string_view message)
Definition
CliComm.cc:5
openmsx::CliComm::log
virtual void log(LogLevel level, std::string_view message, float fraction=0.0f)=0
Log a message with a certain priority level.
openmsx::CliComm::printProgress
void printProgress(std::string_view message, float fraction)
Definition
CliComm.cc:20
openmsx::CliComm::printError
void printError(std::string_view message)
Definition
CliComm.cc:15
openmsx::CliComm::printWarning
void printWarning(std::string_view message)
Definition
CliComm.cc:10
openmsx::CliComm::LOGLEVEL_ERROR
@ LOGLEVEL_ERROR
Definition
CliComm.hh:17
openmsx::CliComm::INFO
@ INFO
Definition
CliComm.hh:15
openmsx::CliComm::PROGRESS
@ PROGRESS
Definition
CliComm.hh:18
openmsx::CliComm::WARNING
@ WARNING
Definition
CliComm.hh:16
openmsx
This file implemented 3 utility functions:
Definition
Autofire.cc:9
Generated on Thu Mar 28 2024 21:13:12 for openMSX by
1.9.8