feat: replace loguru with logging

This commit is contained in:
jo 2023-02-26 01:27:00 +01:00 committed by Kyle Robbertze
parent cced09f1ac
commit c6940db289
34 changed files with 138 additions and 245 deletions

View file

@ -1,5 +1,6 @@
import collections
import json
import logging
import pickle
import queue
import threading
@ -7,9 +8,10 @@ import time
from urllib.parse import urlparse
import requests
from loguru import logger
from requests.exceptions import HTTPError
logger = logging.getLogger(__name__)
class PicklableHttpRequest:
def __init__(self, method, url, api_key, data):