Macros
log.h File Reference
#include <stdbool.h>
#include <stdio.h>
#include "auto/config.h"
#include "nvim/macros.h"

Go to the source code of this file.

Macros

#define NVIM_PROBE(name, n, ...)
 
#define TRACE_LOG_LEVEL   0
 
#define DEBUG_LOG_LEVEL   1
 
#define INFO_LOG_LEVEL   2
 
#define WARN_LOG_LEVEL   3
 
#define ERROR_LOG_LEVEL   4
 
#define DLOG(...)
 
#define DLOGN(...)
 
#define ILOG(...)
 
#define ILOGN(...)
 
#define WLOG(...)
 
#define WLOGN(...)
 
#define ELOG(...)
 
#define ELOGN(...)
 
#define MIN_LOG_LEVEL   INFO_LOG_LEVEL
 
#define LOG(level, ...)
 
#define WLOG(...)
 
#define WLOGN(...)
 
#define ELOG(...)
 
#define ELOGN(...)
 

Macro Definition Documentation

◆ DEBUG_LOG_LEVEL

#define DEBUG_LOG_LEVEL   1

◆ DLOG

#define DLOG (   ...)

◆ DLOGN

#define DLOGN (   ...)

◆ ELOG [1/2]

#define ELOG (   ...)

◆ ELOG [2/2]

#define ELOG (   ...)
Value:
logmsg(ERROR_LOG_LEVEL, NULL, __func__, __LINE__, true, \
__VA_ARGS__)

◆ ELOGN [1/2]

#define ELOGN (   ...)

◆ ELOGN [2/2]

#define ELOGN (   ...)
Value:
logmsg(ERROR_LOG_LEVEL, NULL, __func__, __LINE__, false, \
__VA_ARGS__)

◆ ERROR_LOG_LEVEL

#define ERROR_LOG_LEVEL   4

◆ ILOG

#define ILOG (   ...)

◆ ILOGN

#define ILOGN (   ...)

◆ INFO_LOG_LEVEL

#define INFO_LOG_LEVEL   2

◆ LOG

#define LOG (   level,
  ... 
)
Value:
logmsg((level), NULL, __func__, __LINE__, true, \
__VA_ARGS__)

◆ MIN_LOG_LEVEL

#define MIN_LOG_LEVEL   INFO_LOG_LEVEL

◆ NVIM_PROBE

#define NVIM_PROBE (   name,
  n,
  ... 
)

◆ TRACE_LOG_LEVEL

#define TRACE_LOG_LEVEL   0

◆ WARN_LOG_LEVEL

#define WARN_LOG_LEVEL   3

◆ WLOG [1/2]

#define WLOG (   ...)

◆ WLOG [2/2]

#define WLOG (   ...)
Value:
logmsg(WARN_LOG_LEVEL, NULL, __func__, __LINE__, true, \
__VA_ARGS__)

◆ WLOGN [1/2]

#define WLOGN (   ...)

◆ WLOGN [2/2]

#define WLOGN (   ...)
Value:
logmsg(WARN_LOG_LEVEL, NULL, __func__, __LINE__, false, \
__VA_ARGS__)
ERROR_LOG_LEVEL
#define ERROR_LOG_LEVEL
Definition: log.h:24
WARN_LOG_LEVEL
#define WARN_LOG_LEVEL
Definition: log.h:23
level
fc level
Definition: userfunc.c:853
logmsg
bool logmsg(int log_level, const char *context, const char *func_name, int line_num, bool eol, const char *fmt,...) FUNC_ATTR_UNUSED FUNC_ATTR_PRINTF(6
NULL
return NULL
Definition: eval.c:10355