Skip to content

Commit

Permalink
fix stackoverflow
Browse files Browse the repository at this point in the history
  • Loading branch information
SAKURA-CAT committed Jun 18, 2024
1 parent a20cc7d commit 686cc79
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ build-backend = "hatchling.build"

[project]
name = "swankit"
version = "0.1.0b4"
version = "0.1.0b5"
dynamic = ["readme"]
description = "Base toolkit for SwanLab"
license = "Apache-2.0"
Expand Down
10 changes: 5 additions & 5 deletions swankit/log/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,29 +169,29 @@ def level(self, level: Levels):
# 发送调试消息
@concat_messages
def debug(self, message):
self.debug(message)
self.__logger.debug(message)
return

# 发送通知
@concat_messages
def info(self, message):
self.info(message)
self.__logger.info(message)
return

# 发生警告
@concat_messages
def warning(self, message):
self.warning(message)
self.__logger.warning(message)
return

# 发生错误
@concat_messages
def error(self, message):
self.error(message)
self.__logger.error(message)
return

# 致命错误
@concat_messages
def critical(self, message):
self.critical(message)
self.__logger.critical(message)
return

0 comments on commit 686cc79

Please sign in to comment.