-
Notifications
You must be signed in to change notification settings - Fork 23
QuantumGate::Console::AddMessage
Karel Donk edited this page Jun 16, 2018
·
4 revisions
Adds a message to the console.
static void AddMessage(const MessageType type, const StringView message, ...);
Name | Description |
---|---|
type |
The QuantumGate::Console::MessageType of the message. |
message |
The message to add including formatting of ... arguments. Uses the same format specifiers as std::printf . |
... |
Arguments that should be substituted into the message . |
// Adds an error message to the console output
QuantumGate::Console::AddMessage(QuantumGate::Console::MessageType::Error,
L"There was an error with code %u", 5u);