Definitions in mtouch_log.h

Preprocessor macro definitions for the mtouch_log.h header file in the libinputevents library.

Definitions:

#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 (slogger). Otherwise, the log is simply directed to stderr. The mtouch_log() output format is: devname[DEBUG]: formatted argument list.

devname

Name of device driver.

format

String that specifies the format of the log. The formatting string determines what additional arguments you need to provide.

args

Variable-length argument list that correponds to that which is specified in format.

Nothing.

#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 (slogger). Otherwise, the log is simply directed to stderr. The mtouch_log() output format is: devname[INFO]: formatted argument list.

devname

Name of device driver.

format

String that specifies the format of the log. The formatting string determines what additional arguments you need to provide.

args

Variable-length argument list that correponds to that which is specified in format.

Nothing.

#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 (slogger). Otherwise, the log is simply directed to stderr. The mtouch_log() output format is: devname[WARNING]: formatted argument list.

devname

Name of device driver.

format

String that specifies the format of the log. The formatting string determines what additional arguments you need to provide.

args

Variable-length argument list that correponds to that which is specified in format.

Nothing.

#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 (slogger). Otherwise, the log is simply directed to stderr. The mtouch_log() output format is: devname[ERROR]: formatted argument list.

devname

Name of device driver.

format

String that specifies the format of the log. The formatting string determines what additional arguments you need to provide.

args

Variable-length argument list that correponds to that which is specified in format.

Nothing.

#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 (slogger). Otherwise, the log is simply directed to stderr. The mtouch_log() output format is: devname[CRITICAL]: formatted argument list.

devname

Name of device driver.

format

String that specifies the format of the log. The formatting string determines what additional arguments you need to provide.

args

Variable-length argument list that correponds to that which is specified in format.

Nothing.

Library:

libinputevents