CARLsim  6.1.0
CARLsim: a GPU-accelerated SNN simulator
carlsim_log_definitions.h File Reference
#include <stdio.h>
Include dependency graph for carlsim_log_definitions.h:

Go to the source code of this file.

Macros

#define CARLSIM_ERROR(where, what)   fprintf(stderr, "\033[31;1m[USER ERROR %s] %s\033[0m\n", where, what)
 
#define CARLSIM_INFO(where, what)   fprintf(stdout, "\033[%s] %s\n", where, what)
 
#define CARLSIM_WARN(where, what)   fprintf(stderr, "\033[33;1m[USER WARNING %s] %s\033[0m\n", where, what)
 

Macro Definition Documentation

◆ CARLSIM_ERROR

#define CARLSIM_ERROR (   where,
  what 
)    fprintf(stderr, "\033[31;1m[USER ERROR %s] %s\033[0m\n", where, what)

Definition at line 55 of file carlsim_log_definitions.h.

◆ CARLSIM_INFO

#define CARLSIM_INFO (   where,
  what 
)    fprintf(stdout, "\033[%s] %s\n", where, what)

Definition at line 57 of file carlsim_log_definitions.h.

◆ CARLSIM_WARN

#define CARLSIM_WARN (   where,
  what 
)    fprintf(stderr, "\033[33;1m[USER WARNING %s] %s\033[0m\n", where, what)

Definition at line 56 of file carlsim_log_definitions.h.