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

Log level struct for debugging memory allocation. 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 memory allocation.
 

Static Public Attributes

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

Detailed Description

Log level struct for debugging memory allocation.

This struct contains the log level information for debugging memory allocation.

Definition at line 27 of file loglevels.hpp.

Member Function Documentation

◆ reformat()

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

Log formatter function for debugging memory allocation.

This function formats the log message for debugging memory allocation.

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

Definition at line 109 of file logs.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ level_name

constexpr const char* LogLevel_DebugAlloc::level_name = "Debug Alloc"
staticconstexpr

Log level name.

Definition at line 29 of file loglevels.hpp.

◆ logval

constexpr i8 LogLevel_DebugAlloc::logval = 127
staticconstexpr

Log level value.

Definition at line 28 of file loglevels.hpp.


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