Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
LogLevel_Debug Struct Reference

Log level struct for debugging general operations. 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 debugging general operations.

Static Public Attributes

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

Detailed Description

Log level struct for debugging general operations.

This struct contains the log level information for debugging general operations.

Definition at line 139 of file loglevels.hpp.

Member Function Documentation

◆ reformat()

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

Log formatter function for debugging general operations.

This function formats the log message for debugging general operations.

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

Definition at line 133 of file logs.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ level_name

const char* LogLevel_Debug::level_name = "Debug"
staticconstexpr

Log level name.

Definition at line 141 of file loglevels.hpp.

◆ logval

i8 LogLevel_Debug::logval = 10
staticconstexpr

Log level value.

Definition at line 140 of file loglevels.hpp.


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