3 * @brief logger module constants enumeration.
5 * L7VSD: Linux Virtual Server for Layer7 Load Balancing
6 * Copyright (C) 2008 NTT COMWARE Corporation.
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
23 **********************************************************************/
25 #ifndef __LOGGER_ENUM_H__
26 #define __LOGGER_ENUM_H__
29 #include <log4cxx/level.h>
32 * LogLevel enumeration.
44 inline LOG_LEVEL_TAG& operator++(LOG_LEVEL_TAG& level) {
45 level = static_cast<LOG_LEVEL_TAG>(level + 1);
50 * Category enumeration.
51 * LOG_CAT_SSLPROXY_LOGGER should be first for logger log.
56 LOG_CAT_SSLPROXY_LOGGER = 1,
57 LOG_CAT_SSLPROXY_PARAMETER,
58 LOG_CAT_SSLPROXY_COMMON,
59 LOG_CAT_SSLPROXY_SERVER,
60 LOG_CAT_SSLPROXY_SESSION,
61 LOG_CAT_SSLPROXY_CONNECTION,
67 inline LOG_CATEGORY_TAG& operator++(LOG_CATEGORY_TAG& cat) {
68 cat = static_cast<LOG_CATEGORY_TAG>(cat + 1);
73 * Rotation enumeration.
75 enum LOG_ROTATION_TAG {
82 * RotationTiming enumeration.
84 enum LOG_ROTATION_TIMING_TAG {
92 #endif //__LOGGER_ENUM_H__