[PATCH 4/8] doc: Add GrlLog documentation



---
 src/grl-log.c |    7 +++++++
 src/grl-log.h |   12 ++++++++++++
 2 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/src/grl-log.c b/src/grl-log.c
index e8b72e9..6d5a3a6 100644
--- a/src/grl-log.c
+++ b/src/grl-log.c
@@ -20,6 +20,13 @@
  *
  */
 
+/**
+ * SECTION:grl-log
+ * @short_description: Log system
+ *
+ * This class stores information related to the log system
+ */
+
 #include "grl-log.h"
 #include "grl-log-priv.h"
 
diff --git a/src/grl-log.h b/src/grl-log.h
index 160a5fa..3f0b69f 100644
--- a/src/grl-log.h
+++ b/src/grl-log.h
@@ -36,6 +36,18 @@
 
 G_BEGIN_DECLS
 
+/**
+ * GrlLogLevel:
+ * @GRL_LOG_LEVEL_NONE: Log level none
+ * @GRL_LOG_LEVEL_ERROR: Log on error
+ * @GRL_LOG_LEVEL_WARNING: Log on warning
+ * @GRL_LOG_LEVEL_MESSAGE: Log on message
+ * @GRL_LOG_LEVEL_INFO: Log on info
+ * @GRL_LOG_LEVEL_DEBUG: Log on debug
+ * @GRL_LOG_LEVEL_LAST: Last level of log
+ *
+ * Grilo log levels. Defines the level of verbosity selected in Grilo.
+ */
 typedef enum {
   GRL_LOG_LEVEL_NONE,
   GRL_LOG_LEVEL_ERROR,
-- 
1.7.0.4



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]