shadowshell 0.0.31__tar.gz → 0.0.32__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: shadowshell
3
- Version: 0.0.31
3
+ Version: 0.0.32
4
4
  Summary: www.shadowshell.xyz
5
5
  Author-email: shadowshell <shadowshellxyz@foxmail.com>
6
6
  License: MIT
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
5
5
  [project]
6
6
  name = "shadowshell" # 全局唯一名称(检查PyPI是否被占用)
7
7
  #version = "0.0.24" # 版本号(每次更新需递增)
8
- version = "0.0.31" # 版本号(每次更新需递增)
8
+ version = "0.0.32" # 版本号(每次更新需递增)
9
9
  authors = [{ name = "shadowshell", email = "shadowshellxyz@foxmail.com" }]
10
10
  description = "www.shadowshell.xyz"
11
11
  readme = "README.md"
@@ -77,7 +77,7 @@ def performance_monitor(func):
77
77
  start = time.perf_counter()
78
78
  result = func(*args, **kwargs)
79
79
  elapsed = time.perf_counter() - start
80
- logger.info(f"[{func.__name__}] has ran, time elapsed:{elapsed:.6f} s.")
80
+ logger.info(f"[PERFORMANCE_MONITOR][{func.__name__}] has ran, time elapsed:{elapsed:.6f} s.")
81
81
  return result
82
82
  return wrapper
83
83
 
@@ -92,7 +92,7 @@ def function_monitor(func):
92
92
  logger.error(sys.exc_info()[0])
93
93
  finally:
94
94
  elapsed = time.perf_counter() - start
95
- logger.info(f"[{func.__name__}] has ran, time elapsed:{elapsed:.6f} s.")
95
+ logger.info(f"[FUNCTION_MONITOR][{func.__name__}] has ran, time elapsed:{elapsed:.6f} s.")
96
96
  return result
97
97
  return wrapper
98
98
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: shadowshell
3
- Version: 0.0.31
3
+ Version: 0.0.32
4
4
  Summary: www.shadowshell.xyz
5
5
  Author-email: shadowshell <shadowshellxyz@foxmail.com>
6
6
  License: MIT
File without changes
File without changes