[recipes] Dump version information for --verbose
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [recipes] Dump version information for --verbose
- Date: Mon, 27 Nov 2017 17:57:33 +0000 (UTC)
commit 23fb6c1f351fe3c56ae02242e37957c9d5c7a201
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Nov 27 12:56:23 2017 -0500
Dump version information for --verbose
Always good to have this information.
src/gr-logging.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gr-logging.c b/src/gr-logging.c
index e3151cd..9149349 100644
--- a/src/gr-logging.c
+++ b/src/gr-logging.c
@@ -23,6 +23,7 @@
#include <string.h>
#include <gr-logging.h>
+#include <gr-utils.h>
/* verbose_logging turns enables DEBUG and INFO messages just for our log domain.
* We also respect the G_MESSAGES_DEBUG environment variable.
@@ -34,6 +35,8 @@ void
gr_set_verbose_logging (gboolean verbose)
{
verbose_logging = verbose;
+
+ g_debug ("org.gnome.Recipes %s", get_version ());
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]