Skip to content

Commit 52f5477

Browse files
committed
dont guard log level
1 parent 3e25016 commit 52f5477

File tree

1 file changed

+0
-3
lines changed
  • python/{{cookiecutter.project_slug}}/src/{{cookiecutter.project_slug}}

1 file changed

+0
-3
lines changed

python/{{cookiecutter.project_slug}}/src/{{cookiecutter.project_slug}}/utils.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ def initialize_logs(log_level: int = logging.DEBUG) -> None:
99
1010
:param log_level: app log level to set
1111
"""
12-
if log_level not in {10, 20, 30, 40, 50}:
13-
msg = f"Unrecognized log level: {log_level}"
14-
raise ValueError(msg)
1512
root = logging.getLogger()
1613
if root.handlers:
1714
return

0 commit comments

Comments
 (0)