diff mbox

[i-g-t,07/11] lib: Update igt_core docs

Message ID 1469623097-26044-8-git-send-email-daniel.vetter@ffwll.ch (mailing list archive)
State New, archived
Headers show

Commit Message

Daniel Vetter July 27, 2016, 12:38 p.m. UTC
Just missing comment for igt_log_level.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
---
 lib/igt_core.h | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
diff mbox

Patch

diff --git a/lib/igt_core.h b/lib/igt_core.h
index 64d823f6bf48..433b88c9757c 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,