Notcurses 3.0.13
a blingful library for TUIs and character graphics
Loading...
Searching...
No Matches
logging.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define logpanic(fmt, ...)
 
#define logfatal(fmt, ...)
 
#define logerror(fmt, ...)
 
#define logwarn(fmt, ...)
 
#define loginfo(fmt, ...)
 
#define logverbose(fmt, ...)
 
#define logdebug(fmt, ...)
 
#define logtrace(fmt, ...)
 

Variables

ncloglevel_e loglevel
 

Macro Definition Documentation

◆ logdebug

#define logdebug (   fmt,
  ... 
)
Value:
do{ \
nclog("%s:%d:" fmt NL, __func__, __LINE__, ##__VA_ARGS__); } \
} while(0);
const char * fmt
Definition fbuf.h:220
ncloglevel_e loglevel
Definition debug.c:3
@ NCLOGLEVEL_DEBUG
Definition notcurses.h:976

Definition at line 52 of file logging.h.

52 { \
54 nclog("%s:%d:" fmt NL, __func__, __LINE__, ##__VA_ARGS__); } \
55 } while(0);

◆ logerror

#define logerror (   fmt,
  ... 
)
Value:
do{ \
nclog("%s:%d:" fmt NL, __func__, __LINE__, ##__VA_ARGS__); } \
} while(0);
@ NCLOGLEVEL_ERROR
Definition notcurses.h:972

Definition at line 32 of file logging.h.

32 { \
34 nclog("%s:%d:" fmt NL, __func__, __LINE__, ##__VA_ARGS__); } \
35 } while(0);

◆ logfatal

#define logfatal (   fmt,
  ... 
)
Value:
do{ \
nclog("%s:%d:" fmt NL, __func__, __LINE__, ##__VA_ARGS__); } \
} while(0);
@ NCLOGLEVEL_FATAL
Definition notcurses.h:971

Definition at line 27 of file logging.h.

27 { \
29 nclog("%s:%d:" fmt NL, __func__, __LINE__, ##__VA_ARGS__); } \
30 } while(0);

◆ loginfo

#define loginfo (   fmt,
  ... 
)
Value:
do{ \
nclog("%s:%d:" fmt NL, __func__, __LINE__, ##__VA_ARGS__); } \
} while(0);
@ NCLOGLEVEL_INFO
Definition notcurses.h:974

Definition at line 42 of file logging.h.

42 { \
44 nclog("%s:%d:" fmt NL, __func__, __LINE__, ##__VA_ARGS__); } \
45 } while(0);

◆ logpanic

#define logpanic (   fmt,
  ... 
)
Value:
do{ \
nclog("%s:%d:" fmt NL, __func__, __LINE__, ##__VA_ARGS__); } \
} while(0);
@ NCLOGLEVEL_PANIC
Definition notcurses.h:970

Definition at line 22 of file logging.h.

22 { \
24 nclog("%s:%d:" fmt NL, __func__, __LINE__, ##__VA_ARGS__); } \
25 } while(0);

◆ logtrace

#define logtrace (   fmt,
  ... 
)
Value:
do{ \
nclog("%s:%d:" fmt NL, __func__, __LINE__, ##__VA_ARGS__); } \
} while(0);
@ NCLOGLEVEL_TRACE
Definition notcurses.h:977

Definition at line 57 of file logging.h.

57 { \
59 nclog("%s:%d:" fmt NL, __func__, __LINE__, ##__VA_ARGS__); } \
60 } while(0);

◆ logverbose

#define logverbose (   fmt,
  ... 
)
Value:
do{ \
nclog("%s:%d:" fmt NL, __func__, __LINE__, ##__VA_ARGS__); } \
} while(0);
@ NCLOGLEVEL_VERBOSE
Definition notcurses.h:975

Definition at line 47 of file logging.h.

47 { \
49 nclog("%s:%d:" fmt NL, __func__, __LINE__, ##__VA_ARGS__); } \
50 } while(0);

◆ logwarn

#define logwarn (   fmt,
  ... 
)
Value:
do{ \
nclog("%s:%d:" fmt NL, __func__, __LINE__, ##__VA_ARGS__); } \
} while(0);
@ NCLOGLEVEL_WARNING
Definition notcurses.h:973

Definition at line 37 of file logging.h.

37 { \
39 nclog("%s:%d:" fmt NL, __func__, __LINE__, ##__VA_ARGS__); } \
40 } while(0);

Variable Documentation

◆ loglevel

ncloglevel_e loglevel
extern

Definition at line 3 of file debug.c.