mtouch_log()

Print mtouch log information.

Synopsis:

#include <input/mtouch_log.h>
 
void mtouch_log(int severity, const char *devname, const char *format,...)

Arguments:

severity

Severity of the condition that triggered the log. For more information on severity levels, see slogf() in the QNX C Library Reference. All log severities are defined in <sys/slog.h>

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.

...

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

Library:

libinputevents

Description:

This is a variadic function. 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[severity]: formatted argument list.

Returns:

Nothing.