rsudo/log.h

10 lines
273 B
C
Raw Normal View History

2017-12-02 05:43:22 +00:00
#ifndef __LOG_H__
#define __LOG_H__
#define LOG_DEBUG(m, s) printf("[DEBUG] [%s] %s\n", m, s)
#define LOG_INFO(m, s) printf("[INFO] [%s] %s\n", m, s)
#define LOG_WARN(m, s) printf("[WARN] [%s] %s\n", m, s)
#define LOG_ERROR(m, s) printf("[ERROR] [%s] %s\n", m, s)
#endif