Centralized logging

Allows us to extend the logging infrastructure, e.g. by adding Loki/Discord webhooks to the mix.
This commit is contained in:
2024-04-20 12:11:37 +00:00
parent 36ab38b1ee
commit 994fa0d41e
136 changed files with 340 additions and 847 deletions

View File

@ -1,12 +1,9 @@
import json
from decimal import Decimal
from base64 import b64encode
from typing import Any, Dict
from hashlib import md5
from datetime import datetime
from typing import Dict
from core.config import CoreConfig
from core.data import Data, cached
from core.data import cached
from .config import CxbConfig
from .base import CxbBase
from .const import CxbConstants