aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/logger/priority.h
blob: db7607ef22d376e1f81f3636e8f9fa16d51fa5f2 (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