mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2024-12-16 10:20:02 +02:00
2f6017511f
Many modules that use debug.h do not need to do logging so this reduces dependencies for those modules.
27 lines
979 B
C
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
|