![]() |
Blamite Game Engine - Strings
00390.07.02.23.1947.blamite
A library containing general purpose utilities and classes for use in multiple projects.
|
#include <string>#include <vector>#include "Strings/components/resources/color/BlamColor.h"#include "Strings/components/utils/datetime/datetime.h"
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.
Classes | |
| struct | BlamLogMessage |
| Structure to store log message data. More... | |
| class | BlamBasicLogMessage |
| Class represneting a basic log message. More... | |
| class | BlamLogReceiver |
| Interface used to receive log messages. More... | |
| class | BlamBasicLogger |
| Class representing a basic logger. More... | |
Namespaces | |
| BlamStrings | |
| Namespace for Blamite's shared C++ library. | |
| BlamStrings::Interface | |
| BlamStrings::Interface::Logger | |
| Namespace containing functions related to the logger. | |
Macros | |
| #define | STRINGS_API __declspec(dllimport) |
| #define | LOGGER_ID_GUERILLA 1 |
| #define | LOGGER_ID_KEYSTONE 2 |
| #define | LOGGER_ID_STRINGS 3 |
| #define | LOGGER_ID_TOOL 4 |
| #define | LOGGER_ID_UNIFIED 5 |
| #define | WSV_NONE BlamLogLevel::None |
| Macro for 'None' log seveirty. More... | |
| #define | WSV_ERROR BlamLogLevel::Error |
| Macro for 'Error' log seveirty. More... | |
| #define | WSV_WARNING BlamLogLevel::Warning |
| Macro for 'Warning' log seveirty. More... | |
| #define | WSV_SEVERE BlamLogLevel::Severe |
| Macro for 'Severe' log seveirty. More... | |
| #define | WVIS_NONE BlamLogVisibility::None |
Macro for 'None' log visibility. Original pre-enum value was -1. More... | |
| #define | WVIS_ALL BlamLogVisibility::All |
Macro for 'All' log visibility. Original pre-enum value was 0. More... | |
| #define | WVIS_STDOUT_ONLY BlamLogVisibility::StdoutOnly |
Macro for 'StdoutOnly' log visibility. Original pre-enum value was 1. More... | |
| #define | WVIS_FILE_ONLY BlamLogVisibility::FileOnly |
Macro for 'FileOnly' log visibility. Original pre-enum value was 2. More... | |
| #define | WVIS_HTML_ONLY BlamLogVisibility::HTMLOnly |
Macro for 'HTMLOnly' log visibility. Original pre-enum value was 3. More... | |
| #define | WVIS_TXT_ONLY BlamLogVisibility::TXTOnly |
Macro for 'TXTOnly' log visibility. Original pre-enum value was 4. More... | |
Functions | |
| STRINGS_API std::string | BlamStrings::Interface::Logger::GenerateLogLevelPrefix (BlamLogLevel log_level) |
Generates a prefix for a given log level, such as [INFO] or [WARN]. More... | |
| STRINGS_API TerminalColor | BlamStrings::Interface::Logger::TranslateLogLevelAsColor (BlamLogLevel log_level) |
| Translates a given BlamLogLevel into the appropriate terminal color. More... | |
| STRINGS_API void | BlamStrings::Interface::Logger::PrintMessageToStdout (std::string message, TerminalColor color) |
| Prints a message to the standard output. More... | |
| #define LOGGER_ID_GUERILLA 1 |
| #define LOGGER_ID_KEYSTONE 2 |
| #define LOGGER_ID_STRINGS 3 |
| #define LOGGER_ID_TOOL 4 |
| #define LOGGER_ID_UNIFIED 5 |
| #define STRINGS_API __declspec(dllimport) |
| #define WSV_ERROR BlamLogLevel::Error |
Macro for 'Error' log seveirty.
| #define WSV_NONE BlamLogLevel::None |
Macro for 'None' log seveirty.
| #define WSV_SEVERE BlamLogLevel::Severe |
Macro for 'Severe' log seveirty.
| #define WSV_WARNING BlamLogLevel::Warning |
Macro for 'Warning' log seveirty.
| #define WVIS_ALL BlamLogVisibility::All |
Macro for 'All' log visibility. Original pre-enum value was 0.
| #define WVIS_FILE_ONLY BlamLogVisibility::FileOnly |
Macro for 'FileOnly' log visibility. Original pre-enum value was 2.
| #define WVIS_HTML_ONLY BlamLogVisibility::HTMLOnly |
Macro for 'HTMLOnly' log visibility. Original pre-enum value was 3.
| #define WVIS_NONE BlamLogVisibility::None |
Macro for 'None' log visibility. Original pre-enum value was -1.
| #define WVIS_STDOUT_ONLY BlamLogVisibility::StdoutOnly |
Macro for 'StdoutOnly' log visibility. Original pre-enum value was 1.
| #define WVIS_TXT_ONLY BlamLogVisibility::TXTOnly |
Macro for 'TXTOnly' log visibility. Original pre-enum value was 4.
|
strong |
Enumerator to specify log event severity.
|
strong |
Enumerator to specify log event visibility.
|
strong |
Enumerator containing possible report types.
Some enumerator values will have certain tags assigned to them as follows:
RESERVED - This is a possible future report type, but it is not currently in use.GAME-SPECIFIC - This is a report type that, in the future, should be made game-specific.In the future, individual projects should be able to include custom report types. At this point, the report types listed as "game-specific" should be removed here and should be moved to a sample project or something like that.
|
strong |
Enumerator listing all possible terminal colors.
While the BlamBasicLogger does not support terminal output natively, applications which use it may wish to implement more complex terminal formatting - using colors.
| Enumerator | |
|---|---|
| Black | |
| Blue | |
| Green | |
| Cyan | |
| Red | |
| Magenta | |
| Gold | |
| Gray | |
| DarkGray | |
| BrightBlue | |
| BrightGreen | |
| BrightCyan | |
| BrightRed | |
| BrightMagenta | |
| Yellow | |
| White | |
| Reset | |