NewMadeleine

Documentation

nm_log.h File Reference

Basic primitives to display info & warnings. More...

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <Padico/Puk.h>
Include dependency graph for nm_log.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NM_DISPF(str, ...)   padico_out(puk_verbose_info, str, ## __VA_ARGS__)
 
#define NM_TRACEF(str, ...)   padico_trace(str, ## __VA_ARGS__)
 
#define NM_WARN(format, ...)   padico_warning(format, ## __VA_ARGS__)
 
#define NM_FATAL(format, ...)   padico_fatal(format, ## __VA_ARGS__)
 

Detailed Description

Basic primitives to display info & warnings.

Definition in file nm_log.h.

Macro Definition Documentation

◆ NM_DISPF

#define NM_DISPF (   str,
  ... 
)    padico_out(puk_verbose_info, str, ## __VA_ARGS__)

Definition at line 30 of file nm_log.h.

◆ NM_FATAL

#define NM_FATAL (   format,
  ... 
)    padico_fatal(format, ## __VA_ARGS__)
Examples
nm_mcast_basic.c, and nm_rpc_hello.c.

Definition at line 36 of file nm_log.h.

◆ NM_TRACEF

#define NM_TRACEF (   str,
  ... 
)    padico_trace(str, ## __VA_ARGS__)

Definition at line 32 of file nm_log.h.

◆ NM_WARN

#define NM_WARN (   format,
  ... 
)    padico_warning(format, ## __VA_ARGS__)
Examples
nm_pack_headers.c.

Definition at line 34 of file nm_log.h.