Skip to content

Commit e8d0bb1

Browse files
committed
more changes from other PR
1 parent bf43f78 commit e8d0bb1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common/logger.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,6 @@ def critical(self, *args, **kwargs):
181181
self._log(logging.CRITICAL, *args, **kwargs)
182182

183183

184-
185-
186184
def get_sublogger(self):
187185
"""Retrieve SubLogger for this LoggerThread."""
188186
return self.sublogger
@@ -240,6 +238,8 @@ def pool_and_threadedlogger(logger, *poolargs):
240238
Emulates the multiprocessing.Pool() context manager,
241239
but also provides (via a LoggerThread) a SubLogger proxy to logger
242240
that can be safely used by pool workers.
241+
The SubLogger proxy interface supports these methods: debug, info, warning, error,
242+
and critical.
243243
Also "cleans up" the pool by waiting for workers to complete
244244
as it exits the context.
245245
"""

0 commit comments

Comments
 (0)