2 * @file logger_rotation_enum.h
3 * @brief logger module rotation constants enumeration.
5 * L7VSD: Linux Virtual Server for Layer7 Load Balancing
6 * Copyright (C) 2009 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_ROTATION_ENUM_H
26 #define LOGGER_ROTATION_ENUM_H
31 //! @enum LOG_ROTATION_TAG
32 //! @brief Rotation kind enumeration
33 enum LOG_ROTATION_TAG {
34 LOG_ROT_SIZE, //!< rotate by filesize
35 LOG_ROT_DATE, //!< rotate by date
36 LOG_ROT_DATESIZE //!< rotate by date and filesize
39 //! @enum LOG_ROTATION_TAG
40 //! @brief RotationTiming enumeration
41 enum LOG_ROTATION_TIMING_TAG {
42 LOG_TIM_YEAR, //!< rotate yearly
43 LOG_TIM_MONTH, //!< rotate monthly
44 LOG_TIM_WEEK, //!< rotate weekly
45 LOG_TIM_DATE, //!< rotate daily
46 LOG_TIM_HOUR //!< rotate hourly
50 #endif //__LOGGER_ROTATION_ENUM_H__