Definitions in mtouch_log.h
Preprocessor macro definitions for the mtouch_log.h header file in the libinputevents library
Definitions:
#include <input/mtouch_log.h>
#define mtouch_debug mtouch_log(_SLOG_DEBUG1, devname, format, ##args)
Print mtouch log information as SLOG_DEBUG1
severity.
This macro implements an mtouch_log() function with severity of SLOG_DEBUG
. If NDEBUG
is defined, the information is sent as a message to the system logger (slogger2
). Otherwise, the log is simply directed to stderr
. The mtouch_log() output format is: devname[DEBUG]: formatted argument list
.
#define mtouch_info mtouch_log(_SLOG_INFO, devname, format, ##args)
Print mtouch log information as SLOG_INFO
severity.
This macro implements an mtouch_log() function with severity of SLOG_INFO
. If NDEBUG
is defined, the information is sent as a message to the system logger (slogger2
). Otherwise, the log is simply directed to stderr
. The mtouch_log() output format is: devname[INFO]: formatted argument list
.
#define mtouch_warn mtouch_log(_SLOG_WARNING, devname, format, ##args)
Print mtouch log information as SLOG_WARNING
severity.
This macro implements an mtouch_log() function with severity of SLOG_WARNING
. If NDEBUG
is defined, the information is sent as a message to the system logger (slogger2
). Otherwise, the log is simply directed to stderr
. The mtouch_log() output format is: devname[WARNING]: formatted argument list
.
#define mtouch_error mtouch_log(_SLOG_ERROR, devname, format, ##args)
Print mtouch log information as SLOG_ERROR
severity.
This macro implements an mtouch_log() function with severity of SLOG_ERROR
. If NDEBUG
is defined, the information is sent as a message to the system logger (slogger2
). Otherwise, the log is simply directed to stderr
. The mtouch_log() output format is: devname[ERROR]: formatted argument list
.
#define mtouch_critical mtouch_log(_SLOG_CRITICAL, devname, format, ##args)
Print mtouch log information as SLOG_CRITICAL
severity.
This macro implements an mtouch_log() function with severity of SLOG_ERROR
. If NDEBUG
is defined, the information is sent as a message to the system logger (slogger2
). Otherwise, the log is simply directed to stderr
. The mtouch_log() output format is: devname[CRITICAL]: formatted argument list
.