CARLsim  3.1.3
CARLsim: a GPU-accelerated SNN simulator
carlsim_log_definitions.h File Reference
#include <stdio.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

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

Definition at line 47 of file carlsim_log_definitions.h.

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

Definition at line 49 of file carlsim_log_definitions.h.

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

Definition at line 48 of file carlsim_log_definitions.h.