smarty template cache syncing daemon (PoC)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
290B

  1. #ifndef _LOGGING_H_
  2. #define _LOGGING_H_
  3. #define LOG_DEBUG 5
  4. #define LOG_INFO 4
  5. #define LOG_NOTICE 3
  6. #define LOG_WARN 2
  7. #define LOG_ERROR 1
  8. #define LOG_CRIT 0
  9. #define LOG_EVERYTIME 0
  10. int log_init(char *logfile);
  11. void log_print(int prio, const char *fmt, ... );
  12. #endif /* _LOGGING_H_ */