From edeff079f7844a16bcac0c4016530bef7a739bc8 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Sat, 20 Nov 2021 18:49:31 -0800 Subject: [PATCH] Use vlogging. --- voussoirkit/threadpool.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/voussoirkit/threadpool.py b/voussoirkit/threadpool.py index 6f32520..c64ff44 100644 --- a/voussoirkit/threadpool.py +++ b/voussoirkit/threadpool.py @@ -33,15 +33,15 @@ Here are some examples of threadpool in use: >>> pool.add_many(kwargss) >>> pool.join() ''' -import logging import queue import threading import traceback from voussoirkit import lazychain from voussoirkit import sentinel +from voussoirkit import vlogging -log = logging.getLogger('threadpool') +log = vlogging.get_logger(__name__, 'threadpool') PENDING = sentinel.Sentinel('PENDING') RUNNING = sentinel.Sentinel('RUNNING')