mirror of
https://github.com/aclist/dztui.git
synced 2026-10-30 06:32:53 +01:00
chore: restrict logs to app namespace
This commit is contained in:
1 parent
d6ef55a3b3
commit
eba9a7bfba
34 files changed
+119
-112
No files matched your search
+4
-3
@@ -1,9 +1,10 @@
|
||||
import logging
|
||||
|
||||
from math import radians, cos, sin, asin, sqrt
|
||||
from typing import Self, TYPE_CHECKING
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
from dzgui.util.ip import GeolocationError, get_coords
|
||||
from dzgui.const.constants import APP_NAME
|
||||
from dzgui.util.ip import get_coords
|
||||
|
||||
import gi
|
||||
|
||||
@@ -15,7 +16,7 @@ if TYPE_CHECKING:
|
||||
from dzgui.controllers.mc import Controller
|
||||
from queue import Queue
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
logger = logging.getLogger(APP_NAME)
|
||||
|
||||
|
||||
class Haversine:
|
||||
|
||||
@@ -2,13 +2,14 @@ import logging
|
||||
from pathlib import Path
|
||||
|
||||
from dzgui.api.mods import get_local_mod_path, get_local_mod_ids, _hash
|
||||
from dzgui.const.constants import APPID_DAYZ, APPID_DAYZ_EXP
|
||||
from dzgui.const.constants import APPID_DAYZ, APPID_DAYZ_EXP, APP_NAME
|
||||
from dzgui.const.enum import Preferences
|
||||
from dzgui.config.query import lookup
|
||||
|
||||
import dzgui.api.pefile as PeFile
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
logger = logging.getLogger(APP_NAME)
|
||||
|
||||
|
||||
def rebuild_symlinks(config: Path) -> None:
|
||||
path = lookup(config, Preferences.DEFAULT)
|
||||
|
||||
Reference in new issue
Block a user