|
| static void | LogTemp (const std::string_view message) |
| |
| template<typename ... T> |
| static void | LogTemp (const std::string_view formatstr, T &&... values) |
| |
| static void | Log (const std::string_view message) |
| |
| template<typename ... T> |
| static constexpr void | Log (const std::string_view formatstr, T &&... values) |
| |
| static void | Warning (const char *message) |
| |
| template<typename ... T> |
| static void | Warning (const std::string_view formatstr, T &&... values) |
| |
|
static void | PrintStacktraceHere () |
| |
| static void | Error (const std::string_view message) |
| |
| template<typename ... T> |
| static void | Error (const std::string_view formatstr, T &&... values) |
| |
| static void | Fatal (const std::string_view message) |
| |
| template<typename ... T> |
| static void | Fatal (const std::string_view formatstr, T &&... values) |
| |
| template<typename ... T> |
| static void | Assert (bool condition, const char *formatstr, T &&... values) |
| |
| static void | Assert (bool condition, const char *msg) |
| |
| template<typename U , typename T > |
| static U | AssertSize (T val, const char *name="") |
| |
◆ Assert() [1/2]
| static void RavEngine::Debug::Assert |
( |
bool |
condition, |
|
|
const char * |
formatstr, |
|
|
T &&... |
values |
|
) |
| |
|
inlinestatic |
Require a condition to be true
- Parameters
-
| condition | the boolean to check |
| formatstr | the formatting string for the failure message |
| values | the optional values for the failure message |
◆ Assert() [2/2]
Require a condition to be true
- Parameters
-
| condition | the boolean to check |
| msg | the string for the failure message |
◆ AssertSize()
Asserts that the value is in range, then returns the value cast to the checked type
◆ Error() [1/2]
| static void RavEngine::Debug::Error |
( |
const std::string_view |
formatstr, |
|
|
T &&... |
values |
|
) |
| |
|
inlinestatic |
Log a message to standard error, as an error.
- Parameters
-
| formatstr | The formatting string to log |
| values | the optional values to log |
◆ Error() [2/2]
| static void RavEngine::Debug::Error |
( |
const std::string_view |
message | ) |
|
|
inlinestatic |
Log a message to standard error, as an error.
- Parameters
-
| message | The message to log. |
◆ Fatal() [1/2]
| static void RavEngine::Debug::Fatal |
( |
const std::string_view |
formatstr, |
|
|
T &&... |
values |
|
) |
| |
|
inlinestatic |
Log an error message and terminate.
- Parameters
-
| formatstr | The formatting string |
| values | the optional values |
◆ Fatal() [2/2]
| static void RavEngine::Debug::Fatal |
( |
const std::string_view |
message | ) |
|
|
inlinestatic |
Log an error message and terminate.
- Parameters
-
| message | The message to log. |
◆ Log() [1/2]
Log a message to standard output.
- Parameters
-
| formatstr | The formatting string to log |
| values | the optional values to log |
◆ Log() [2/2]
| static void RavEngine::Debug::Log |
( |
const std::string_view |
message | ) |
|
|
inlinestatic |
Log a message to standard output.
- Parameters
-
| message | The message to log |
◆ LogTemp() [1/2]
| static void RavEngine::Debug::LogTemp |
( |
const std::string_view |
formatstr, |
|
|
T &&... |
values |
|
) |
| |
|
inlinestatic |
Log a message to standard output. In release builds, this method is stubbed and logs are disabled.
- Parameters
-
| formatstr | The formatting string to log |
| values | the optional values to log |
◆ LogTemp() [2/2]
| static void RavEngine::Debug::LogTemp |
( |
const std::string_view |
message | ) |
|
|
inlinestatic |
Log a message to standard output. In release builds, this method is stubbed and logs are disabled.
- Parameters
-
| message | The message to log |
◆ Warning() [1/2]
Log a message to standard error, as a warning.
- Parameters
-
| message | The message to log. |
◆ Warning() [2/2]
| static void RavEngine::Debug::Warning |
( |
const std::string_view |
formatstr, |
|
|
T &&... |
values |
|
) |
| |
|
inlinestatic |
Log a message to standard error, as a warning.
- Parameters
-
| formatstr | The formatting string to log |
| values | the optional values to log |
The documentation for this class was generated from the following files:
- RavEngine/include/RavEngine/Debug.hpp
- RavEngine/src/Debug.cpp