diff --git a/Difficult_Rocket/client/__init__.py b/Difficult_Rocket/client/__init__.py index 2645a03..ac81550 100644 --- a/Difficult_Rocket/client/__init__.py +++ b/Difficult_Rocket/client/__init__.py @@ -83,7 +83,7 @@ class Client: def __init__(self, game: "Game", net_mode="local"): start_time = time.time_ns() - # logging + # log self.logger = loggers.get_logger("client").set_tag("client") self.logger.info(tr().client.setup.start()) # config @@ -250,7 +250,7 @@ class ClientWindow(Window): """ start_time = time.time_ns() super().__init__(*args, **kwargs) - # logging + # log self.logger = loggers.get_logger("client").set_tag("window") self.logger.info(tr().window.setup.start()) # value diff --git a/Difficult_Rocket/server/__init__.py b/Difficult_Rocket/server/__init__.py index bd4ac7d..3dc6374 100644 --- a/Difficult_Rocket/server/__init__.py +++ b/Difficult_Rocket/server/__init__.py @@ -27,7 +27,7 @@ from lib_not_dr import loggers class Server: def __init__(self, net_mode="local"): start_time = time.time() - # logging + # log self.logger = loggers.config.get_logger("server").set_tag("server") self.logger.info(tr().server.setup.start()) # value diff --git a/mods/dr_game/sr1_ship.py b/mods/dr_game/sr1_ship.py index f02c419..249d04a 100644 --- a/mods/dr_game/sr1_ship.py +++ b/mods/dr_game/sr1_ship.py @@ -43,8 +43,6 @@ if DR_mod_runtime.use_DR_rust: logger = loggers.get_logger("client.dr_game_sr1_ship") -# logger = logging.getLogger("client.dr_game_sr1_ship") -# logger.level = logging.DEBUG sr_tr = Tr(lang_path=Path(__file__).parent / "lang")