priority.h 434 B

123456789101112131415
  1. #pragma once
  2. enum ELogPriority {
  3. TLOG_EMERG = 0 /* "EMERG" */,
  4. TLOG_ALERT = 1 /* "ALERT" */,
  5. TLOG_CRIT = 2 /* "CRITICAL_INFO" */,
  6. TLOG_ERR = 3 /* "ERROR" */,
  7. TLOG_WARNING = 4 /* "WARNING" */,
  8. TLOG_NOTICE = 5 /* "NOTICE" */,
  9. TLOG_INFO = 6 /* "INFO" */,
  10. TLOG_DEBUG = 7 /* "DEBUG" */,
  11. TLOG_RESOURCES = 8 /* "RESOURCES" */
  12. };
  13. #define LOG_MAX_PRIORITY TLOG_RESOURCES
  14. #define LOG_DEF_PRIORITY TLOG_INFO