Macros

Macro are made to add some intels about the debug added like the file that call debug and the line number.

Macro are different in two ways :

  • in KapEngine namespace

  • out of KapEngine namespace

This difference is made because of your code if it's include in namespace KapEngine or not.

In Namespace KapEngine

  • DEBUG_LOG

  • DEBUG_WARNING

  • DEBUG_ERROR

Out of Namespace KapEngine

  • KAP_DEBUG_LOG

  • KAP_DEBUG_WARNING

  • KAP_DEBUG_ERROR

All of these macros used Debug::log, Debug::warning or Debug::error. describe in class Debug

Last updated