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

Namespace containing functions related to the logger. More...

Functions

STRINGS_API std::string GenerateLogLevelPrefix (BlamLogLevel log_level)
 Generates a prefix for a given log level, such as [INFO] or [WARN]. More...
 

Detailed Description

Namespace containing functions related to the logger.

Function Documentation

◆ GenerateLogLevelPrefix()

std::string BlamStrings::Interface::Logger::GenerateLogLevelPrefix ( BlamLogLevel  log_level)

Generates a prefix for a given log level, such as [INFO] or [WARN].

Parameters
log_level- The log level to create a prefix for.
Returns
An appropriate prefix for the log level.