Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions
reformat_message.hpp File Reference
#include <string>
+ Include dependency graph for reformat_message.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  shambase::logs::ReformatArgs
 A structure containing the arguments to a log formatter. More...
 

Namespaces

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

Typedefs

using shambase::logs::reformat_func_ptr = std::string(*)(const ReformatArgs &args)
 A pointer to a log formatter function.
 

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.
 

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.hpp.