using std logging instead of loguru

This commit is contained in:
Mose Mueller
2023-10-18 15:41:46 +02:00
parent 20a035afe8
commit af9e44e373
5 changed files with 9 additions and 4 deletions

View File

@@ -2,6 +2,7 @@ from __future__ import annotations
import datetime
import json
import logging
import re
from pathlib import Path
from types import TracebackType
@@ -9,12 +10,13 @@ from typing import Any, Optional
from confz import FileSource
from dateutil.parser import ParserError, parse # type: ignore
from loguru import logger
from sqlmodel import Session, SQLModel, create_engine
from icon_service_base.database.config import OperationMode, PostgreSQLConfig
from icon_service_base.database.create_config import create_config
logger = logging.getLogger(__name__)
def json_loads_or_return_input(input_string: str) -> dict[str, Any] | Any:
"""