Engine
Frameworkcreatedbymeusableforthecreationofsimplegames.CurrentlysupportsOpenGL(Verysimple)andVulkan.
Macros | Functions
Logging.hpp File Reference
#include "Engine/api.hpp"
#include <ThirdParty/EASTL-master/include/EASTL/string.h>

Go to the source code of this file.

Macros

#define DEBUG_INFO_ENABLED
 
#define DEBUG_WARNING_ENABLED
 
#define DEBUG_ERROR_ENABLED
 
#define log_path   "engine.log"
 
#define debug_error(debug_class, function, value)   doDebug("[ERROR]", debug_class, function, value);
 This functions logs a debug error to the log and console. This does not halt the program! More...
 
#define debug_warning(debug_class, function, value)   doDebug("[WARNING]", debug_class, function, value);
 This functions logs a debug warning to the log and console. More...
 
#define debug_info(debug_class, function, value)   doDebug("[INFO]", debug_class, function, value);
 This functions logs a debug info to the log and console. Use this for useless information. More...
 

Functions

void ENGINE_API doDebug (eastl::string Type, eastl::string debugClass, eastl::string function, eastl::string value)
 

Macro Definition Documentation

#define debug_error (   debug_class,
  function,
  value 
)    doDebug("[ERROR]", debug_class, function, value);

This functions logs a debug error to the log and console. This does not halt the program!

This macro requres three parameters- debug_class -> the class you're working on. function -> the function you're working in. value -> the message you want to pass on.

Definition at line 30 of file Logging.hpp.

#define DEBUG_ERROR_ENABLED

Definition at line 12 of file Logging.hpp.

#define debug_info (   debug_class,
  function,
  value 
)    doDebug("[INFO]", debug_class, function, value);

This functions logs a debug info to the log and console. Use this for useless information.

This macro requres three parameters- debug_class -> the class you're working on. function -> the function you're working in. value -> the message you want to pass on.

Definition at line 60 of file Logging.hpp.

#define DEBUG_INFO_ENABLED

Definition at line 10 of file Logging.hpp.

#define debug_warning (   debug_class,
  function,
  value 
)    doDebug("[WARNING]", debug_class, function, value);

This functions logs a debug warning to the log and console.

This macro requres three parameters- debug_class -> the class you're working on. function -> the function you're working in. value -> the message you want to pass on.

Definition at line 45 of file Logging.hpp.

#define DEBUG_WARNING_ENABLED

Definition at line 11 of file Logging.hpp.

#define log_path   "engine.log"

Definition at line 14 of file Logging.hpp.

Function Documentation

void ENGINE_API doDebug ( eastl::string  Type,
eastl::string  debugClass,
eastl::string  function,
eastl::string  value 
)

Definition at line 12 of file Logging.cpp.