Created a log component for eNB application.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4590 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
winckel
2013-12-04 15:21:39 +00:00
parent 2d5d61073a
commit b6bca8da53
2 changed files with 9 additions and 0 deletions
+8
View File
@@ -300,6 +300,14 @@ int logInit (void)
g_log->log_component[OSA].filelog = 0;
g_log->log_component[OSA].filelog_name = "";
g_log->log_component[ENB_APP].name = "ENB_APP";
g_log->log_component[ENB_APP].level = LOG_EMERG;
g_log->log_component[ENB_APP].flag = LOG_MED;
g_log->log_component[ENB_APP].interval = 1;
g_log->log_component[ENB_APP].fd = 0;
g_log->log_component[ENB_APP].filelog = 0;
g_log->log_component[ENB_APP].filelog_name = "";
g_log->level2string[LOG_EMERG] = "G"; //EMERG
g_log->level2string[LOG_ALERT] = "A"; // ALERT
g_log->level2string[LOG_CRIT] = "C"; // CRITIC
+1
View File
@@ -257,6 +257,7 @@ typedef enum {
SCTP,
HW,
OSA,
ENB_APP,
MAX_LOG_COMPONENTS
} comp_name_t;