Skip to content

Commit

Permalink
修改: src/d2py/utils/log_config.py
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxinwei committed Mar 21, 2024
1 parent c837646 commit 18b64b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/d2py/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""Dive into Python."""
__version__ = '0.5.8'
__version__ = '0.5.9'
4 changes: 2 additions & 2 deletions src/d2py/utils/log_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def config_logging(
},
file_formatter: str="%(levelname)s|%(asctime)s|%(name)s| -> %(message)s\n|==>%(module)s.%(funcName)s@: %(pathname)s:%(lineno)d",
stream_formatter: str="%(levelname)s|%(asctime)s|%(name)s| -> %(message)s",
):
**kwargs):
"""配置 logging
Args:
Expand All @@ -29,7 +29,7 @@ def config_logging(
format=file_formatter,
datefmt='%m-%d %H:%M',
filename=filename,
filemode=filemode)
filemode=filemode, **kwargs)

# 禁用一些 debug 信息
for mod_name in filter_mod_names|default_filter_mod_names:
Expand Down

0 comments on commit 18b64b2

Please sign in to comment.