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

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

Static Public Attributes

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

Detailed Description

Log level struct for warning messages.

This struct contains the log level information for warning messages.

Definition at line 244 of file loglevels.hpp.

Member Function Documentation

◆ reformat()

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

Log formatter function for warning messages.

This function formats the log message for warning messages.

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

Definition at line 134 of file logs.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ level_name

constexpr const char* LogLevel_Warning::level_name = "Warning"
staticconstexpr

Log level name.

Definition at line 246 of file loglevels.hpp.

◆ logval

constexpr i8 LogLevel_Warning::logval = -1
staticconstexpr

Log level value.

Definition at line 245 of file loglevels.hpp.


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