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

Log level struct for error 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 error messages.
 

Static Public Attributes

static constexpr i8 logval = -10
 Log level value.
 
static constexpr const char * level_name = "Error"
 Log level name.
 

Detailed Description

Log level struct for error messages.

This struct contains the log level information for error messages.

Definition at line 279 of file loglevels.hpp.

Member Function Documentation

◆ reformat()

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

Log formatter function for error messages.

This function formats the log message for error messages.

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

Definition at line 138 of file logs.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ level_name

constexpr const char* LogLevel_Error::level_name = "Error"
staticconstexpr

Log level name.

Definition at line 281 of file loglevels.hpp.

◆ logval

constexpr i8 LogLevel_Error::logval = -10
staticconstexpr

Log level value.

Definition at line 280 of file loglevels.hpp.


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