Skip to content

Error()

Virga edited this page Sep 18, 2022 · 3 revisions

The Error() function takes 2 parameters and has no return value. The first parameter is the content of the error message in a std::string. The second parameter is the source of the error message.

Example:

Log.Error("SDL2 initialization failed.", "ENGINE");

Clone this wiki locally