Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
reformat_message.cpp File Reference
#include "shambase/logs/reformat_message.hpp"
#include "shambase/term_colors.hpp"
+ Include dependency graph for reformat_message.cpp:

Go to the source code of this file.

Namespaces

namespace  shambase
 namespace for basic c++ utilities
 
namespace  shambase::logs
 Namespace containing logs utils.
 

Functions

void shambase::logs::change_formaters (reformat_func_ptr full, reformat_func_ptr simple)
 Changes the log formatter functions.
 
std::string shambase::logs::reformat_all (const std::string &color, const char *name, const std::string &module_name, const std::string &content)
 Format a log message with all the information.
 
std::string shambase::logs::reformat_simple (const std::string &color, const char *name, const std::string &module_name, const std::string &content)
 Format a log message with the minimum information.
 

Variables

reformat_func_ptr shambase::logs::_reformat_all = nullptr
 Pointer to the full formatter function.
 
reformat_func_ptr shambase::logs::_reformat_simple = nullptr
 Pointer to the simple formatter function.
 

Detailed Description

Author
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)

Definition in file reformat_message.cpp.