aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/logger/priority.h
blob: 5696fde561fee3587760b47e8c83b8a079b0f060 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

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