 |
Blamite Game Engine - Strings
00291.01.11.21.2204.blamite
A library containing general purpose utilities and classes for use in multiple projects.
|
Go to the documentation of this file.
9 #define STRINGS_API __declspec(dllexport)
11 #define STRINGS_API __declspec(dllimport)
44 std::string message =
"";
45 std::string timestamp =
"";
47 std::string GetMessageLine();
59 std::vector<BlamBasicLogMessage> history = std::vector<BlamBasicLogMessage>();
60 std::vector<BlamLogReceiver*> receivers = std::vector<BlamLogReceiver*>();
67 std::vector<BlamBasicLogMessage> GetHistory();
STRINGS_API std::string GenerateLogLevelPrefix(BlamLogLevel log_level)
Definition: logger.cpp:3
virtual void LogMessageReceived(BlamBasicLogMessage message)
Definition: logger.h:53
#define STRINGS_API
Definition: logger.h:11
@ AiError
Placeholder for the future, indicates an error with AI.
STRINGS_INTERNAL void AddReceiver(BlamLogReceiver *receiver)
Definition: logger.cpp:25
STRINGS_INTERNAL void RemoveReceiver(BlamLogReceiver *receiver)
Definition: logger.cpp:30
@ Error
Indicates an error that could cause engine instability.
@ None
Indicates no severity, and is displayed with no formatting.
@ Input
Indicates that the user has executed a command from console.
@ Severe
Indicates a severe error that the engine cannot recover from.
BlamLogLevel
Enumerator to specify log event severity.
Definition: logger.h:17
STRINGS_INTERNAL void LogEvent(std::string message, BlamLogLevel log_level)
Definition: logger.cpp:20
@ Warning
Indicates a warning message. Not something critical, but something that could cause unexpected behavi...