Use vlogging.
This commit is contained in:
parent
8317e7c7b7
commit
edeff079f7
1 changed files with 2 additions and 2 deletions
|
@ -33,15 +33,15 @@ Here are some examples of threadpool in use:
|
||||||
>>> pool.add_many(kwargss)
|
>>> pool.add_many(kwargss)
|
||||||
>>> pool.join()
|
>>> pool.join()
|
||||||
'''
|
'''
|
||||||
import logging
|
|
||||||
import queue
|
import queue
|
||||||
import threading
|
import threading
|
||||||
import traceback
|
import traceback
|
||||||
|
|
||||||
from voussoirkit import lazychain
|
from voussoirkit import lazychain
|
||||||
from voussoirkit import sentinel
|
from voussoirkit import sentinel
|
||||||
|
from voussoirkit import vlogging
|
||||||
|
|
||||||
log = logging.getLogger('threadpool')
|
log = vlogging.get_logger(__name__, 'threadpool')
|
||||||
|
|
||||||
PENDING = sentinel.Sentinel('PENDING')
|
PENDING = sentinel.Sentinel('PENDING')
|
||||||
RUNNING = sentinel.Sentinel('RUNNING')
|
RUNNING = sentinel.Sentinel('RUNNING')
|
||||||
|
|
Loading…
Reference in a new issue