Elaztek Developer Hub
Blamite Game Engine - Strings  00390.07.02.23.1947.blamite
A library containing general purpose utilities and classes for use in multiple projects.
logger.h File Reference
+ Include dependency graph for logger.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 BlamStrings
 Namespace for Blamite's shared C++ library.
 
 BlamStrings::Logger
 Namespace containing functions for the unified logger.
 

Macros

#define STRINGS_API   __declspec(dllimport)
 
#define STRINGS_INTERNAL
 

Functions

STRINGS_API BlamBasicLoggerBlamStrings::Logger::GetLogger ()
 Retrieves the unified logger. More...
 
STRINGS_API void BlamStrings::Logger::PrepareLogger (std::string directory="", std::string file_name="")
 Prepares the logger. More...
 
STRINGS_API void BlamStrings::Logger::ShutdownLogger ()
 Shuts down the logger. More...
 
STRINGS_API void BlamStrings::Logger::LogEvent (BlamBasicLogMessage message)
 Logs an event to the logger. More...
 
STRINGS_API void BlamStrings::Logger::LogEvent (std::string message)
 Logs an event to the logger. More...
 
STRINGS_API void BlamStrings::Logger::LogEvent (std::string message, BlamLogLevel log_level)
 Logs an event to the logger. More...
 
STRINGS_API void BlamStrings::Logger::LogEvent (std::string message, TerminalColor color)
 Logs an event to the logger. More...
 
STRINGS_API void BlamStrings::Logger::AddReceiver (BlamLogReceiver *receiver)
 Registers a receiver which will be notified on new log messages. More...
 
STRINGS_API void BlamStrings::Logger::RemoveReceiver (BlamLogReceiver *receiver)
 Unregisters a receiver. More...
 
STRINGS_API std::vector< BlamBasicLogMessageBlamStrings::Logger::GetHistory ()
 Retrieves log history. More...
 
STRINGS_API bool BlamStrings::Logger::WriteToFile (std::string directory_path="", std::string file_name="log")
 Saves the log history to the specified directory. More...
 

Macro Definition Documentation

◆ STRINGS_API

#define STRINGS_API   __declspec(dllimport)

◆ STRINGS_INTERNAL

#define STRINGS_INTERNAL