about summary refs log tree commit diff
path: root/gn3/debug.py
diff options
context:
space:
mode:
Diffstat (limited to 'gn3/debug.py')
-rw-r--r--gn3/debug.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/gn3/debug.py b/gn3/debug.py
index 945e237..8b67a92 100644
--- a/gn3/debug.py
+++ b/gn3/debug.py
@@ -4,13 +4,17 @@ from flask import current_app
 
 __this_module_name__ = __name__
 
+
+# pylint: disable=invalid-name
 def getLogger():
+    """Return a logger"""
     return (
         logging.getLogger(__this_module_name__)
         if not bool(current_app)
         else current_app.logger)
 
 def __pk__(*args):
+    """Format log entry"""
     value = args[-1]
     title_vals = " => ".join(args[0:-1])
     logger = getLogger()