summaryrefslogtreecommitdiffstats
path: root/openstack/common/log.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstack/common/log.py')
-rw-r--r--openstack/common/log.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/openstack/common/log.py b/openstack/common/log.py
index d125d90..8097b23 100644
--- a/openstack/common/log.py
+++ b/openstack/common/log.py
@@ -459,10 +459,11 @@ def getLogger(name='unknown', version='unknown'):
def getLazyLogger(name='unknown', version='unknown'):
- """
- create a pass-through logger that does not create the real logger
+ """Returns lazy logger.
+
+ Creates a pass-through logger that does not create the real logger
until it is really needed and delegates all calls to the real logger
- once it is created
+ once it is created.
"""
return LazyAdapter(name, version)