TrinityCore
LogCommon.h
Go to the documentation of this file.
1/*
2 * This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the
6 * Free Software Foundation; either version 2 of the License, or (at your
7 * option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 *
14 * You should have received a copy of the GNU General Public License along
15 * with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#ifndef LogCommon_h__
19#define LogCommon_h__
20
21#include "Define.h"
22
23// EnumUtils: DESCRIBE THIS
25{
33
35 LOG_LEVEL_INVALID = 0xFF // SKIP
36};
37
38// EnumUtils: DESCRIBE THIS
40{
45
46 APPENDER_INVALID = 0xFF // SKIP
47};
48
50{
55 APPENDER_FLAGS_USE_TIMESTAMP = 0x08, // only used by FileAppender
56 APPENDER_FLAGS_MAKE_FILE_BACKUP = 0x10 // only used by FileAppender
57};
58
59#endif // LogCommon_h__
uint8_t uint8
Definition: Define.h:144
AppenderFlags
Definition: LogCommon.h:50
@ APPENDER_FLAGS_NONE
Definition: LogCommon.h:51
@ APPENDER_FLAGS_MAKE_FILE_BACKUP
Definition: LogCommon.h:56
@ APPENDER_FLAGS_USE_TIMESTAMP
Definition: LogCommon.h:55
@ APPENDER_FLAGS_PREFIX_TIMESTAMP
Definition: LogCommon.h:52
@ APPENDER_FLAGS_PREFIX_LOGFILTERTYPE
Definition: LogCommon.h:54
@ APPENDER_FLAGS_PREFIX_LOGLEVEL
Definition: LogCommon.h:53
AppenderType
Definition: LogCommon.h:40
@ APPENDER_FILE
Definition: LogCommon.h:43
@ APPENDER_INVALID
Definition: LogCommon.h:46
@ APPENDER_CONSOLE
Definition: LogCommon.h:42
@ APPENDER_DB
Definition: LogCommon.h:44
@ APPENDER_NONE
Definition: LogCommon.h:41
LogLevel
Definition: LogCommon.h:25
@ NUM_ENABLED_LOG_LEVELS
Definition: LogCommon.h:34
@ LOG_LEVEL_INVALID
Definition: LogCommon.h:35
@ LOG_LEVEL_DEBUG
Definition: LogCommon.h:28
@ LOG_LEVEL_ERROR
Definition: LogCommon.h:31
@ LOG_LEVEL_FATAL
Definition: LogCommon.h:32
@ LOG_LEVEL_TRACE
Definition: LogCommon.h:27
@ LOG_LEVEL_WARN
Definition: LogCommon.h:30
@ LOG_LEVEL_DISABLED
Definition: LogCommon.h:26
@ LOG_LEVEL_INFO
Definition: LogCommon.h:29