ここにある方法を使う。
loggers
にlogger
をちゃんと渡す。
import logging
from tqdm.contrib.logging import logging_redirect_tqdm
logger = logging.GetLogger(__name__)
with logging_redirect_tqdm(loggers=[logger]):
for item in tqdm(items):
logger.debug(item)
Go to list of users who liked
More than 1 year has passed since last update.
ここにある方法を使う。
loggers
にlogger
をちゃんと渡す。
import logging
from tqdm.contrib.logging import logging_redirect_tqdm
logger = logging.GetLogger(__name__)
with logging_redirect_tqdm(loggers=[logger]):
for item in tqdm(items):
logger.debug(item)
Register as a new user and use Qiita more conveniently
Go to list of users who liked