-/*\r
- * @file logger_enum.h\r
- * @brief logger module constants enumeration.\r
- *\r
- * L7VSD: Linux Virtual Server for Layer7 Load Balancing\r
- * Copyright (C) 2008 NTT COMWARE Corporation.\r
- *\r
- * This program is free software; you can redistribute it and/or\r
- * modify it under the terms of the GNU Lesser General Public\r
- * License as published by the Free Software Foundation; either\r
- * version 2.1 of the License, or (at your option) any later version.\r
- *\r
- * This program is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\r
- * Lesser General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU Lesser General Public\r
- * License along with this library; if not, write to the Free Software\r
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\r
- * 02110-1301 USA\r
- * \r
- **********************************************************************/\r
-\r
-#ifndef __LOGGER_ENUM_H__\r
-#define __LOGGER_ENUM_H__\r
-\r
-#include <string>\r
-#include <log4cxx/level.h>\r
-\r
-/*!\r
- * LogLevel enumeration.\r
- */\r
-enum LOG_LEVEL_TAG\r
-{\r
- LOG_LV_NONE = 0,\r
- LOG_LV_DEBUG,\r
- LOG_LV_INFO,\r
- LOG_LV_WARN,\r
- LOG_LV_ERROR,\r
- LOG_LV_FATAL\r
-};\r
-\r
-inline LOG_LEVEL_TAG& operator++(LOG_LEVEL_TAG& level) {\r
- level = static_cast<LOG_LEVEL_TAG>(level + 1);\r
- return level;\r
-}\r
-\r
-/*!\r
- * Category enumeration.\r
- * LOG_CAT_SSLPROXY_LOGGER should be first for logger log.\r
- */\r
-enum LOG_CATEGORY_TAG\r
-{\r
- LOG_CAT_NONE = 0,\r
- LOG_CAT_SSLPROXY_LOGGER = 1,\r
- LOG_CAT_SSLPROXY_PARAMETER,\r
- LOG_CAT_SSLPROXY_COMMON,\r
- LOG_CAT_SSLPROXY_SERVER,\r
- LOG_CAT_SSLPROXY_SESSION,\r
- LOG_CAT_SSLPROXY_CONNECTION,\r
- LOG_CAT_END\r
-};\r
-\r
-\r
-inline LOG_CATEGORY_TAG& operator++(LOG_CATEGORY_TAG& cat) {\r
- cat = static_cast<LOG_CATEGORY_TAG>(cat + 1);\r
- return cat;\r
-}\r
-\r
-/*!\r
- * Rotation enumeration.\r
- */\r
-enum LOG_ROTATION_TAG {\r
- LOG_ROT_SIZE,\r
- LOG_ROT_DATE,\r
- LOG_ROT_DATESIZE\r
-};\r
-\r
-/*!\r
- * RotationTiming enumeration.\r
- */\r
-enum LOG_ROTATION_TIMING_TAG {\r
- LOG_TIM_YEAR,\r
- LOG_TIM_MONTH,\r
- LOG_TIM_WEEK,\r
- LOG_TIM_DATE,\r
- LOG_TIM_HOUR\r
-};\r
- \r
-#endif //__LOGGER_ENUM_H__\r
+/*
+ * @file logger_enum.h
+ * @brief logger module constants enumeration.
+ *
+ * L7VSD: Linux Virtual Server for Layer7 Load Balancing
+ * Copyright (C) 2008 NTT COMWARE Corporation.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ *
+ **********************************************************************/
+
+#ifndef __LOGGER_ENUM_H__
+#define __LOGGER_ENUM_H__
+
+#include <string>
+#include <log4cxx/level.h>
+
+/*!
+ * LogLevel enumeration.
+ */
+enum LOG_LEVEL_TAG
+{
+ LOG_LV_NONE = 0,
+ LOG_LV_DEBUG,
+ LOG_LV_INFO,
+ LOG_LV_WARN,
+ LOG_LV_ERROR,
+ LOG_LV_FATAL
+};
+
+inline LOG_LEVEL_TAG& operator++(LOG_LEVEL_TAG& level) {
+ level = static_cast<LOG_LEVEL_TAG>(level + 1);
+ return level;
+}
+
+/*!
+ * Category enumeration.
+ * LOG_CAT_SSLPROXY_LOGGER should be first for logger log.
+ */
+enum LOG_CATEGORY_TAG
+{
+ LOG_CAT_NONE = 0,
+ LOG_CAT_SSLPROXY_LOGGER = 1,
+ LOG_CAT_SSLPROXY_PARAMETER,
+ LOG_CAT_SSLPROXY_COMMON,
+ LOG_CAT_SSLPROXY_SERVER,
+ LOG_CAT_SSLPROXY_SESSION,
+ LOG_CAT_SSLPROXY_CONNECTION,
+ LOG_CAT_PACKET_EDIT,
+ LOG_CAT_PACKET_EDIT_HTTP,
+ LOG_CAT_END
+};
+
+
+inline LOG_CATEGORY_TAG& operator++(LOG_CATEGORY_TAG& cat) {
+ cat = static_cast<LOG_CATEGORY_TAG>(cat + 1);
+ return cat;
+}
+
+/*!
+ * Rotation enumeration.
+ */
+enum LOG_ROTATION_TAG {
+ LOG_ROT_SIZE,
+ LOG_ROT_DATE,
+ LOG_ROT_DATESIZE
+};
+
+/*!
+ * RotationTiming enumeration.
+ */
+enum LOG_ROTATION_TIMING_TAG {
+ LOG_TIM_YEAR,
+ LOG_TIM_MONTH,
+ LOG_TIM_WEEK,
+ LOG_TIM_DATE,
+ LOG_TIM_HOUR
+};
+
+#endif //__LOGGER_ENUM_H__