Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Static Public Member Functions | Static Public Attributes | List of all members
LogLevel_Info Struct Reference

Log level struct for informational messages. More...

#include <shambase/include/shambase/logs/loglevels.hpp>

Static Public Member Functions

static std::string reformat (const std::string &in, std::string module_name)
 Log formatter function for informational messages.
 

Static Public Attributes

static constexpr i8 logval = 1
 Log level value.
 
static constexpr const char * level_name = ""
 Log level name.
 

Detailed Description

Log level struct for informational messages.

This struct contains the log level information for informational messages.

Definition at line 174 of file loglevels.hpp.

Member Function Documentation

◆ reformat()

std::string LogLevel_Info::reformat ( const std::string &  in,
std::string  module_name 
)
static

Log formatter function for informational messages.

This function formats the log message for informational messages.

Parameters
inThe log message
module_nameThe name of the module
Returns
The formatted log message

Definition at line 126 of file logs.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ level_name

constexpr const char* LogLevel_Info::level_name = ""
staticconstexpr

Log level name.

Definition at line 176 of file loglevels.hpp.

◆ logval

constexpr i8 LogLevel_Info::logval = 1
staticconstexpr

Log level value.

Definition at line 175 of file loglevels.hpp.


The documentation for this struct was generated from the following files: