Logger::Log Static Method
C++
template<typename FormatString, typename ...>
static void Log(LogLevel logLevel, const char* file, const char* method, int line, const FormatString& fmt, Args&&... args)
Logs the given message. The message is built by combining the format string with the arguments.
Template Parameters
FormatString |
Type of the format string. |
Args |
Type of the arguments. |
Parameters
[LogLevel] logLevel |
The log level for this message. |
[const char*] file |
The file from where this message is coming. |
[const char*] method |
The method from where this message is coming. |
[int] line |
The line from where this message is coming. |
[const FormatString&] fmt |
Describes the format to use. The arguments will be inserted into this string. |
[Args&&...] args |
Variable arguments providing [in] The arguments. |