[gnome-music/wip/mschraal/glib-logging: 65/65] Slightly more verbose about usage.



commit b21324349b3d979f17a8766e27d2687dfff2c2e8
Author: Marinus Schraal <mschraal gnome org>
Date:   Sat Feb 1 16:25:46 2020 +0100

    Slightly more verbose about usage.

 gnomemusic/musiclogger.py | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/gnomemusic/musiclogger.py b/gnomemusic/musiclogger.py
index 8bdd9b0a..d7c9e121 100644
--- a/gnomemusic/musiclogger.py
+++ b/gnomemusic/musiclogger.py
@@ -32,6 +32,11 @@ class MusicLogger(GObject.GObject):
     """GLib logging wrapper
 
     A tiny wrapper aroung the default GLib logger.
+
+    * Message is for user facing warnings, which ideally should be in
+      the application.
+    * Warning is for logging non-fatal errors during execution.
+    * Debug is for developer use as a way to get more runtime info.
     """
 
     _DOMAIN = "org.gnome.Music"


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