A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
log-macros-enabled.h File Reference

NS_LOG and related logging macro definitions. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NS_LOG(level, msg)
 This macro allows you to log an arbitrary message at a specific log level.
 
#define NS_LOG_APPEND_CONTEXT
 Append the node id (or other file-local programmatic context, such as MPI rank) to a log message.
 
#define NS_LOG_APPEND_FUNC_PREFIX
 Append the function name to a log message.
 
#define NS_LOG_APPEND_LEVEL_PREFIX(level)
 Append the log severity level to a log message.
 
#define NS_LOG_APPEND_NODE_PREFIX
 Append the simulation node id to a log message.
 
#define NS_LOG_APPEND_NODE_PREFIX_IMPL
 Implementation details for NS_LOG_APPEND_NODE_PREFIX.
 
#define NS_LOG_APPEND_TIME_PREFIX
 Append the simulation time to a log message.
 
#define NS_LOG_APPEND_TIME_PREFIX_IMPL
 Implementation details for NS_LOG_APPEND_TIME_PREFIX.
 
#define NS_LOG_CONDITION
 Limit logging output based on some file-local condition, such as MPI rank.
 
#define NS_LOG_FUNCTION(parameters)
 If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by ", ".
 
#define NS_LOG_FUNCTION_NOARGS()
 Output the name of the function.
 
#define NS_LOG_UNCOND(msg)
 Output the requested message unconditionally.
 

Detailed Description

NS_LOG and related logging macro definitions.

Definition in file log-macros-enabled.h.