Shkyera Engine
Easy to use, game engine for Python
Loading...
Searching...
No Matches
shkyera::Logger Namespace Reference

Typedefs

using Callback = std::function< void(MessageType messageType, const std::string &message)>
 

Enumerations

enum class  MessageType { ERROR , INFO , VERBOSE , SUCCESS }
 

Functions

void ERROR (const std::string &message)
 
void INFO (const std::string &message)
 
void VERBOSE (const std::string &message)
 
void SUCCESS (const std::string &message)
 
void subscribe (void *subscriberAddress, const Callback &callback)
 
void unsubscribe (void *subscriberAddress)
 

Typedef Documentation

◆ Callback

Enumeration Type Documentation

◆ MessageType

Enumerator
ERROR 
INFO 
VERBOSE 
SUCCESS 

Function Documentation

◆ ERROR()

void shkyera::Logger::ERROR ( const std::string &  message)

◆ INFO()

void shkyera::Logger::INFO ( const std::string &  message)

◆ subscribe()

void shkyera::Logger::subscribe ( void subscriberAddress,
const Callback callback 
)

◆ SUCCESS()

void shkyera::Logger::SUCCESS ( const std::string &  message)

◆ unsubscribe()

void shkyera::Logger::unsubscribe ( void subscriberAddress)

◆ VERBOSE()

void shkyera::Logger::VERBOSE ( const std::string &  message)