Description
The Warning method writes a warning log message. It is a convenience wrapper around Log using Severity::Warning.
Usage
void Warning(const std::string& message) const;
void Warning(const std::wstring& message) const;
template<class... Args>
void Warning(const std::string& formatString, Args&&... args) const;
template<class... Args>
void Warning(const std::wstring& formatString, Args&&... args) const;
Argument list
- message [const std::string&]
- The UTF-8 message string describing the noncritical problem.
- message [const std::wstring&]
- The native wide string message to convert to UTF-8 and log.
- formatString [const std::string&]
- The UTF-8 format string containing positional placeholders such as {0}.
- formatString [const std::wstring&]
- The native wide string format string to convert to UTF-8 before resolving placeholders.
- args [Args&&...]
- The values used to replace positional placeholders in the format string.