[gexiv2] docs: Add documentation for GExiv2LogLevel
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gexiv2] docs: Add documentation for GExiv2LogLevel
- Date: Mon, 20 Mar 2017 00:44:41 +0000 (UTC)
commit a85047c0062d2ced681fe392152fa818ee6085a7
Author: Jens Georg <mail jensge org>
Date: Mon Mar 20 01:43:42 2017 +0100
docs: Add documentation for GExiv2LogLevel
Signed-off-by: Jens Georg <mail jensge org>
gexiv2/gexiv2-log.cpp | 11 +++++++++++
gexiv2/gexiv2-log.h | 17 ++++++-----------
2 files changed, 17 insertions(+), 11 deletions(-)
---
diff --git a/gexiv2/gexiv2-log.cpp b/gexiv2/gexiv2-log.cpp
index 2f47f15..0471c0b 100644
--- a/gexiv2/gexiv2-log.cpp
+++ b/gexiv2/gexiv2-log.cpp
@@ -14,6 +14,17 @@
* @short: FOo
*/
+/**
+ * GExiv2LogLevel:
+ * @GEXIV2_LOG_LEVEL_DEBUG: Log level for debugging
+ * @GEXIV2_LOG_LEVEL_INFO: Log level for informational messages
+ * @GEXIV2_LOG_LEVEL_WARN: Log level for warning messages
+ * @GEXIV2_LOG_LEVEL_ERROR: Log level for error messages
+ * @GEXIV2_LOG_LEVEL_MUTE: Suppress all log messages
+ *
+ * GExiv2 log levels
+ */
+
G_BEGIN_DECLS
static GExiv2LogHandler installed_handler = NULL;
diff --git a/gexiv2/gexiv2-log.h b/gexiv2/gexiv2-log.h
index 22eb847..6358dc1 100644
--- a/gexiv2/gexiv2-log.h
+++ b/gexiv2/gexiv2-log.h
@@ -14,17 +14,12 @@
G_BEGIN_DECLS
-/**
- * GExiv2LogLevel:
- *
- * Log levels
- */
typedef enum {
- GEXIV2_LOG_LEVEL_DEBUG = 0,
- GEXIV2_LOG_LEVEL_INFO = 1,
- GEXIV2_LOG_LEVEL_WARN = 2,
- GEXIV2_LOG_LEVEL_ERROR = 3,
- GEXIV2_LOG_LEVEL_MUTE = 4
+ GEXIV2_LOG_LEVEL_DEBUG = 0,
+ GEXIV2_LOG_LEVEL_INFO = 1,
+ GEXIV2_LOG_LEVEL_WARN = 2,
+ GEXIV2_LOG_LEVEL_ERROR = 3,
+ GEXIV2_LOG_LEVEL_MUTE = 4
} GExiv2LogLevel;
/**
@@ -32,7 +27,7 @@ typedef enum {
* @level: The #GExiv2LogLevel for the particular message
* @msg: (in): The log message
*
- * The log handler can be set by #gexiv2_log_set_handler. When set, the log handler will receive
+ * The log handler can be set by gexiv2_log_set_handler(). When set, the log handler will receive
* all log messages emitted by Exiv2 and gexiv2. It's up to the handler to decide where (and if)
* the images are displayed or stored.
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]