Polyphase Game Engine
Loading...
Searching...
No Matches
Log.h File Reference
#include "PolyphaseAPI.h"
#include <stdarg.h>
#include <stdio.h>
#include "Maths.h"
#include "Constants.h"
#include "System/SystemTypes.h"

Go to the source code of this file.

Typedefs

typedef void(* LogCallbackFP) (LogSeverity severity, const char *message)
 

Functions

void InitializeLog ()
 
void ShutdownLog ()
 
POLYPHASE_API void EnableLog (bool enable)
 
POLYPHASE_API bool IsLogEnabled ()
 
void LockLog ()
 
void UnlockLog ()
 
POLYPHASE_API void LogDebug (const char *format,...)
 
POLYPHASE_API void LogWarning (const char *format,...)
 
POLYPHASE_API void LogError (const char *format,...)
 
POLYPHASE_API void LogConsole (glm::vec4 color, const char *format,...)
 
void RegisterLogCallback (LogCallbackFP callback)
 
void UnregisterLogCallback (LogCallbackFP callback)
 
void SetDebugLogsInBuildEnabled (bool enabled)
 
bool IsDebugLogsInBuildEnabled ()
 

Typedef Documentation

◆ LogCallbackFP

typedef void(* LogCallbackFP) (LogSeverity severity, const char *message)

Function Documentation

◆ EnableLog()

POLYPHASE_API void EnableLog ( bool  enable)

◆ InitializeLog()

void InitializeLog ( )

◆ IsDebugLogsInBuildEnabled()

bool IsDebugLogsInBuildEnabled ( )

◆ IsLogEnabled()

POLYPHASE_API bool IsLogEnabled ( )

◆ LockLog()

void LockLog ( )

◆ LogConsole()

POLYPHASE_API void LogConsole ( glm::vec4  color,
const char *  format,
  ... 
)

◆ LogDebug()

POLYPHASE_API void LogDebug ( const char *  format,
  ... 
)

◆ LogError()

POLYPHASE_API void LogError ( const char *  format,
  ... 
)

◆ LogWarning()

POLYPHASE_API void LogWarning ( const char *  format,
  ... 
)

◆ RegisterLogCallback()

void RegisterLogCallback ( LogCallbackFP  callback)

◆ SetDebugLogsInBuildEnabled()

void SetDebugLogsInBuildEnabled ( bool  enabled)

◆ ShutdownLog()

void ShutdownLog ( )

◆ UnlockLog()

void UnlockLog ( )

◆ UnregisterLogCallback()

void UnregisterLogCallback ( LogCallbackFP  callback)