1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-16 10:20:02 +02:00
pgbackrest/src/common/logLevel.h
David Steele 2f6017511f Split log levels into separate header file.
Many modules that use debug.h do not need to do logging so this reduces dependencies for those modules.
2018-05-23 09:45:08 -04:00

27 lines
979 B
C

/***********************************************************************************************************************************
Log Levels
***********************************************************************************************************************************/
#ifndef COMMON_LOGLEVEL_H
#define COMMON_LOGLEVEL_H
/***********************************************************************************************************************************
Log types
***********************************************************************************************************************************/
typedef enum
{
logLevelOff,
logLevelAssert,
logLevelError,
logLevelProtocol,
logLevelWarn,
logLevelInfo,
logLevelDetail,
logLevelDebug,
logLevelTrace,
} LogLevel;
#define LOG_LEVEL_MIN logLevelAssert
#define LOG_LEVEL_MAX logLevelTrace
#endif