 |
Blamite Game Engine - Strings
00402.09.29.23.0627.blamite
A library containing general purpose utilities and classes for use in multiple projects.
|
Go to the documentation of this file.
6 #define STRINGS_API __declspec(dllexport)
8 #define STRINGS_API __declspec(dllimport)
11 #ifndef STRINGS_INTERNAL
12 #define STRINGS_INTERNAL
Interface used to receive log messages.
Definition: logger.h:192
Class represneting a basic log message.
Definition: logger.h:156
STRINGS_API void AddReceiver(BlamLogReceiver *receiver)
Registers a receiver which will be notified on new log messages.
Definition: logger.cpp:81
STRINGS_API void LogEvent(BlamBasicLogMessage message)
Logs an event to the logger.
Definition: logger.cpp:41
STRINGS_API void ShutdownLogger()
Shuts down the logger.
Definition: logger.cpp:30
#define STRINGS_API
Definition: logger.h:8
STRINGS_API BlamBasicLogger * GetLogger()
Retrieves the unified logger.
Definition: logger.cpp:5
STRINGS_API void RemoveReceiver(BlamLogReceiver *receiver)
Unregisters a receiver.
Definition: logger.cpp:91
Namespace containing functions for the unified logger.
Definition: logger.h:21
STRINGS_API bool WriteToFile(std::string directory_path="", std::string file_name="log")
Saves the log history to the specified directory.
Definition: logger.cpp:111
STRINGS_API void PrepareLogger(std::string directory="", std::string file_name="")
Prepares the logger.
Definition: logger.cpp:10
STRINGS_API std::vector< BlamBasicLogMessage > GetHistory()
Retrieves log history.
Definition: logger.cpp:101
TerminalColor
Enumerator listing all possible terminal colors.
Definition: logger.h:35
Class representing a basic logger.
Definition: logger.h:211
BlamLogLevel
Enumerator to specify log event severity.
Definition: logger.h:60