FLogger¶
-
namespace
marengine Enums
-
class
FLogger¶ - #include “Logging/Logger.h”
Class used for logging implementation. Shall not be used as logger itself, check macros.
Public Static Functions
-
void
init()¶ Initializes logging library.
-
void
clearErrorOpenGL()¶ Clears all existing OpenGL errors.
-
bool
checkErrorOpenGL()¶ Checks existing OpenGL errors and returns result.
- Return
returns true if there is error, false otherwise
-
void
callDebugBreak(bool shouldCallDebugBreak)¶ Calls debug break if argument passed is true.
- Parameters
shouldCallDebugBreak: pass true, if debug break must be called
-
std::shared_ptr<spdlog::logger> &
getLogger()¶ Returns logger pointer.
- Return
logger pointer
Private Static Functions
-
const char *
getOccuredErrorOpenGl(GLenum issue)¶
Private Static Attributes
-
std::shared_ptr<spdlog::logger>
s_logger= {nullptr}¶
-
void
-
class