Ersa Wearable Platform
Embedded smartwatch firmware and application framework
Loading...
Searching...
No Matches
Macros
logging.h File Reference
#include <stdio.h>
Include dependency graph for logging.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ERSA_LOG_INFO(fmt, ...)   printf("[INFO] " fmt "\n", ##__VA_ARGS__)
 
#define ERSA_LOG_WARN(fmt, ...)   printf("[WARN] " fmt "\n", ##__VA_ARGS__)
 
#define ERSA_LOG_ERROR(fmt, ...)   fprintf(stderr, "[ERROR] " fmt "\n", ##__VA_ARGS__)
 

Macro Definition Documentation

◆ ERSA_LOG_ERROR

#define ERSA_LOG_ERROR (   fmt,
  ... 
)    fprintf(stderr, "[ERROR] " fmt "\n", ##__VA_ARGS__)

◆ ERSA_LOG_INFO

#define ERSA_LOG_INFO (   fmt,
  ... 
)    printf("[INFO] " fmt "\n", ##__VA_ARGS__)

◆ ERSA_LOG_WARN

#define ERSA_LOG_WARN (   fmt,
  ... 
)    printf("[WARN] " fmt "\n", ##__VA_ARGS__)