From 736e61b89e87f7e3c224feca25e94cda459b9ae6 Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期一, 06 二月 2023 15:26:05 +0800
Subject: [PATCH] H撤完善,修改代码文件目录

---
 l2/l2_log.py |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/l2/l2_log.py b/l2/l2_log.py
index 8643207..c2e4174 100644
--- a/l2/l2_log.py
+++ b/l2/l2_log.py
@@ -1,15 +1,15 @@
 from log import logger_l2_trade_cancel, logger_l2_trade_buy, logger_l2_trade
 
 
-def debug(cls, code, content, *args):
-    logger_l2_trade.debug(("thread-id={} code={}  ".format(cls.random_key[code], code) + content).format(*args))
+def debug(random_key, code, content, *args):
+    logger_l2_trade.debug(("thread-id={} code={}  ".format(random_key, code) + content).format(*args))
 
 
-def buy_debug(cls, code, content, *args):
+def buy_debug(random_key, code, content, *args):
     logger_l2_trade_buy.debug(
-        ("thread-id={} code={}  ".format(cls.random_key[code], code) + content).format(*args))
+        ("thread-id={} code={}  ".format(random_key, code) + content).format(*args))
 
 
-def cancel_debug(cls, code, content, *args):
+def cancel_debug(random_key, code, content, *args):
     logger_l2_trade_cancel.debug(
-        ("thread-id={} code={}  ".format(cls.random_key[code], code) + content).format(*args))
+        ("thread-id={} code={}  ".format(random_key, code) + content).format(*args))

--
Gitblit v1.8.0