Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Namespaces | Macros | Functions
logs.cpp File Reference
#include "shambase/logs/reformat_message.hpp"
#include "shambase/numeric_limits.hpp"
#include "shambase/stacktrace.hpp"
#include "shamcomm/logs.hpp"
#include "shamcomm/worldInfo.hpp"
#include <cmath>
+ Include dependency graph for logs.cpp:

Go to the source code of this file.

Namespaces

namespace  shamcomm
 namespace for communication related stuff
 

Macros

#define IsActivePrint(_name, StructREF)   _name##_ln("xxx", "xxx", "(", "logger::" #_name, ")");
 X macro impl for the print_active_level() function.
 
#define X   IsActivePrint
 

Functions

void shamcomm::logs::print_active_level ()
 Prints the active log levels.
 
void shamcomm::logs::code_init_done_log ()
 Indicates that the code initialization is complete through various means ;)
 

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 logs.cpp.

Macro Definition Documentation

◆ IsActivePrint

#define IsActivePrint (   _name,
  StructREF 
)    _name##_ln("xxx", "xxx", "(", "logger::" #_name, ")");

X macro impl for the print_active_level() function.

Definition at line 31 of file logs.cpp.

Function Documentation

◆ code_init_done_log()

void shamcomm::logs::code_init_done_log ( )

Indicates that the code initialization is complete through various means ;)

Definition at line 57 of file logs.cpp.

+ Here is the call graph for this function:

◆ print_active_level()

void shamcomm::logs::print_active_level ( )

Prints the active log levels.

Temp definition for the X macro call in print_active_level()

Temp definition for the X macro call in print_active_level()

Definition at line 33 of file logs.cpp.

+ Here is the call graph for this function: