summaryrefslogtreecommitdiff
path: root/libevdev/libevdev.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2013-09-03 16:58:29 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2013-09-10 09:37:59 +1000
commitad709cf95377d1f95b1db4aa2b7fec11382d44dc (patch)
tree46a09578d5961829faa320be6c3dc128ac839abc /libevdev/libevdev.h
parent4b5ffa6bea0d4ac92d567fdb3579baf0fe3ab80d (diff)
downloadlibevdev-ad709cf95377d1f95b1db4aa2b7fec11382d44dc.tar.gz
Log to stderr by default
The logging we do use atm inside the library is largely to spot application errors. Log that to stderr by default so it doesn't get lost. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Diffstat (limited to 'libevdev/libevdev.h')
-rw-r--r--libevdev/libevdev.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libevdev/libevdev.h b/libevdev/libevdev.h
index 36ecdd1..844a1eb 100644
--- a/libevdev/libevdev.h
+++ b/libevdev/libevdev.h
@@ -377,10 +377,10 @@ typedef void (*libevdev_log_func_t)(enum libevdev_log_priority priority,
/**
* Set a printf-style logging handler for library-internal logging. The default
- * logging function is a noop.
+ * logging function is to stdout.
*
* @param logfunc The logging function for this device. If NULL, the current
- * logging function is unset.
+ * logging function is unset and no logging is performed.
* @param data User-specific data passed to the log handler.
*
* @note This function may be called before libevdev_set_fd().