improve docu
authorChristian Herdtweck <christian.herdtweck@intra2net.com>
Wed, 29 Jun 2016 15:04:59 +0000 (17:04 +0200)
committerChristian Herdtweck <christian.herdtweck@intra2net.com>
Wed, 29 Jun 2016 15:04:59 +0000 (17:04 +0200)
src/log_helpers.py

index 5549006..b48cc64 100644 (file)
@@ -146,10 +146,10 @@ _i2n_loggers = {}
 
 
 def get_logger(name, *args, **kwargs):
-    """ factor for :py:class:`I2nLogger`: create new or return existing object
+    """ factory for :py:class:`I2nLogger`: create new or return existing object
 
-    all args as in :py:class:`I2nLogger` constructor; will be ignored if logger
-    with given name exists already!
+    all args as in :py:class:`I2nLogger` constructor; args will be ignored if
+    logger with given name exists already!
     """
 
     if name in _i2n_loggers:
@@ -372,7 +372,6 @@ def is_interesting_count(counter):
 
     return float(counter) / 10.**(n_digits(counter)-1.) in (1., 2., 3., 6.)
 
-
 def test_short_level_format():
     """ quick test of :py:class:`ShortLevelFormatter` """