summaryrefslogtreecommitdiff
path: root/lib/igt_core.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2016-07-27 14:16:07 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2016-07-27 15:43:25 +0200
commit6d63c886f290ce37224ed8660eb66679f915b9d5 (patch)
treeb54c887e22442bd710b99ac061b36d80e94a03c4 /lib/igt_core.h
parent4755804c56ffe16440edf5e9874234b4ed1c733d (diff)
lib: Update igt_core docs
Just missing comment for igt_log_level. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib/igt_core.h')
-rw-r--r--lib/igt_core.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/igt_core.h b/lib/igt_core.h
index 64d823f6..433b88c9 100644
--- a/lib/igt_core.h
+++ b/lib/igt_core.h
@@ -720,7 +720,16 @@ void igt_skip_on_simulation(void);
extern const char *igt_interactive_debug;
-/* structured logging */
+/**
+ * igt_log_level:
+ * @IGT_LOG_DEBUG: debug information, not printed by default
+ * @IGT_LOG_INFO: informational message, printed by default
+ * @IGT_LOG_WARN: non-fatal warnings which should be treated as test failures
+ * @IGT_LOG_CRITICAL: critical errors which lead to immediate termination of tests
+ * @IGT_LOG_NONE: unused
+ *
+ * Log levels used by functions like igt_log().
+ */
enum igt_log_level {
IGT_LOG_DEBUG,
IGT_LOG_INFO,