feat: replace loguru with logging
This commit is contained in:
parent
cced09f1ac
commit
c6940db289
34 changed files with 138 additions and 245 deletions
|
@ -1,3 +1,4 @@
|
|||
import logging
|
||||
from dataclasses import dataclass
|
||||
from datetime import datetime
|
||||
from threading import Thread
|
||||
|
@ -6,7 +7,6 @@ from typing import Any, Dict, List, Optional, Union
|
|||
|
||||
from libretime_api_client.v1 import ApiClient as LegacyClient
|
||||
from libretime_shared.config import IcecastOutput, ShoutcastOutput
|
||||
from loguru import logger
|
||||
from lxml import etree
|
||||
from requests import Session
|
||||
from requests.exceptions import ( # pylint: disable=redefined-builtin
|
||||
|
@ -17,6 +17,8 @@ from requests.exceptions import ( # pylint: disable=redefined-builtin
|
|||
|
||||
from ..config import Config
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
AnyOutput = Union[IcecastOutput, ShoutcastOutput]
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue