Elaztek Developer Hub
Blamite Game Engine - Strings  00313.05.23.21.2038.blamite
A library containing general purpose utilities and classes for use in multiple projects.
BlamTool::Logger Namespace Reference

Namespace containing functions for Tool's logger. More...

Namespaces

 API
 External API functions related to Tool's logger.
 

Functions

STRINGS_INTERNAL void PrepareLogger ()
 Prepares the Tool logger. More...
 
STRINGS_INTERNAL void LogEvent (BlamBasicLogMessage message)
 Logs an event to Tool's log. More...
 
STRINGS_INTERNAL void LogEvent (std::string message)
 Logs an event to Tool's log. More...
 
STRINGS_INTERNAL void LogEvent (std::string message, BlamLogLevel log_level)
 Logs an event to Tool's log. More...
 
STRINGS_INTERNAL void LogEvent (std::string message, TerminalColor color)
 Logs an event to Tool's log. More...
 
STRINGS_INTERNAL void LogEvent (std::string message, std::string color_escape_prefix)
 Logs an event to Tool's log. More...
 

Detailed Description

Namespace containing functions for Tool's logger.

Function Documentation

◆ LogEvent() [1/5]

void BlamTool::Logger::LogEvent ( BlamBasicLogMessage  message)

Logs an event to Tool's log.

Parameters
message- The message to log to the console.

◆ LogEvent() [2/5]

void BlamTool::Logger::LogEvent ( std::string  message)

Logs an event to Tool's log.

Parameters
message- The message to log to the console.

◆ LogEvent() [3/5]

void BlamTool::Logger::LogEvent ( std::string  message,
BlamLogLevel  log_level 
)

Logs an event to Tool's log.

Parameters
message- The message to log to the console.
log_level- The log level of the message.

◆ LogEvent() [4/5]

void BlamTool::Logger::LogEvent ( std::string  message,
std::string  color_escape_prefix 
)

Logs an event to Tool's log.

Parameters
message- The message to log to the console.
color_escape_prefix- The string used to escape color codes, allows for printing multicolored messages to stdout.

◆ LogEvent() [5/5]

void BlamTool::Logger::LogEvent ( std::string  message,
TerminalColor  color 
)

Logs an event to Tool's log.

Parameters
message- The message to log to the console.
color- The color to use when printing the message to the standard output.

◆ PrepareLogger()

void BlamTool::Logger::PrepareLogger ( )

Prepares the Tool logger.