![]() |
Murl Engine API
Version 2024.1
|
Assert, Trace and Error functions and macros. More...
Macros | |
#define | MURL_ERROR(...) |
Write an error message with the current function name plus line number and a variable number of arguments. More... | |
#define | MURL_WARNING(...) |
Write an warning message with the current function name plus line number and a variable number of arguments. More... | |
#define | MURL_ERROR_TIME_BEGIN(key) |
Begin a time measurement for error output. More... | |
#define | MURL_ERROR_TIME_END(key, message) |
End a time measurement and write an error message with the current function name plus line number. More... | |
Functions | |
void | Murl::Debug::Error (const Char *message) |
Write an error message string. More... | |
template<class Type1 > | |
void | Murl::Debug::Error (const Char *format, const Type1 v1) |
Write an error with format string and 1 argument. More... | |
template<class Type1 , class Type2 > | |
void | Murl::Debug::Error (const Char *format, const Type1 v1, const Type2 v2) |
Write an error with format string and 2 arguments. More... | |
template<class Type1 , class Type2 , class Type3 > | |
void | Murl::Debug::Error (const Char *format, const Type1 v1, const Type2 v2, const Type3 v3) |
Write an error with format string and 3 arguments. More... | |
template<class Type1 , class Type2 , class Type3 , class Type4 > | |
void | Murl::Debug::Error (const Char *format, const Type1 v1, const Type2 v2, const Type3 v3, const Type4 v4) |
Write an error with format string and 4 arguments. More... | |
template<class Type1 , class Type2 , class Type3 , class Type4 , class Type5 > | |
void | Murl::Debug::Error (const Char *format, const Type1 v1, const Type2 v2, const Type3 v3, const Type4 v4, const Type5 v5) |
Write an error with format string and 5 arguments. More... | |
template<class Type1 , class Type2 , class Type3 , class Type4 , class Type5 , class Type6 > | |
void | Murl::Debug::Error (const Char *format, const Type1 v1, const Type2 v2, const Type3 v3, const Type4 v4, const Type5 v5, const Type6 v6) |
Write an error with format string and 6 arguments. More... | |
Assert, Trace and Error functions and macros.
#define MURL_ERROR | ( | ... | ) |
Write an error message with the current function name plus line number and a variable number of arguments.
The details of the function name can be configured by the Murl::IAppConfiguration::SetDebugOutputFunctionVerbosity() method.
The error is written with the Murl::Debug::Logger::PrintErrorVA() method.
... | The message format string and a variable number of arguments. |
#define MURL_WARNING | ( | ... | ) |
Write an warning message with the current function name plus line number and a variable number of arguments.
The details of the function name can be configured by the Murl::IAppConfiguration::SetDebugOutputFunctionVerbosity() method.
The error is written with the Murl::Debug::Logger::PrintWarningVA() method.
... | The message format string and a variable number of arguments. |
#define MURL_ERROR_TIME_BEGIN | ( | key | ) |
Begin a time measurement for error output.
key | A unique key to differentiate multiple measurement statements within the current scope. |
#define MURL_ERROR_TIME_END | ( | key, | |
message | |||
) |
End a time measurement and write an error message with the current function name plus line number.
The details of the function name can be configured by the Murl::IAppConfiguration::SetDebugOutputFunctionVerbosity() method.
The error is written with the Murl::Debug::Logger::PrintErrorVA() method.
key | The unique key used in MURL_ERROR_TIME_BEGIN(). |
message | The message string in front of the time. |
|
inline |
Write an error message string.
The error is written with the Logger::PrintError() method.
message | The message string to write. |
void Murl::Debug::Error | ( | const Char * | format, |
const Type1 | v1 | ||
) |
Write an error with format string and 1 argument.
The error is written with the Logger::PrintError() method.
format | The format string to write. |
v1 | The argument for the format string. |
void Murl::Debug::Error | ( | const Char * | format, |
const Type1 | v1, | ||
const Type2 | v2 | ||
) |
Write an error with format string and 2 arguments.
The error is written with the Logger::PrintError() method.
format | The format string to write. |
v1,v2 | The arguments for the format string. |
void Murl::Debug::Error | ( | const Char * | format, |
const Type1 | v1, | ||
const Type2 | v2, | ||
const Type3 | v3 | ||
) |
Write an error with format string and 3 arguments.
The error is written with the Logger::PrintError() method.
format | The format string to write. |
v1,v2,v3 | The arguments for the format string. |
void Murl::Debug::Error | ( | const Char * | format, |
const Type1 | v1, | ||
const Type2 | v2, | ||
const Type3 | v3, | ||
const Type4 | v4 | ||
) |
Write an error with format string and 4 arguments.
The error is written with the Logger::PrintError() method.
format | The format string to write. |
v1,v2,v3,v4 | The arguments for the format string. |
void Murl::Debug::Error | ( | const Char * | format, |
const Type1 | v1, | ||
const Type2 | v2, | ||
const Type3 | v3, | ||
const Type4 | v4, | ||
const Type5 | v5 | ||
) |
Write an error with format string and 5 arguments.
The error is written with the Logger::PrintError() method.
format | The format string to write. |
v1,v2,v3,v4,v5 | The arguments for the format string. |
void Murl::Debug::Error | ( | const Char * | format, |
const Type1 | v1, | ||
const Type2 | v2, | ||
const Type3 | v3, | ||
const Type4 | v4, | ||
const Type5 | v5, | ||
const Type6 | v6 | ||
) |
Write an error with format string and 6 arguments.
The error is written with the Logger::PrintError() method.
format | The format string to write. |
v1,v2,v3,v4,v5,v6 | The arguments for the format string. |