Skip to content

Commit 6f4157f

Browse files
feat: Adding verbosity setting
1 parent af349cc commit 6f4157f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/thread/utils/config.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ class Settings:
44
`Non Instantiable`
55
"""
66

7+
VERBOSITY: bool = True
78
GRACEFUL_EXIT_ENABLED: bool = True
89

910
def __init__(self):
@@ -12,3 +13,7 @@ def __init__(self):
1213
@staticmethod
1314
def set_graceful_exit(enabled: bool = True):
1415
Settings.GRACEFUL_EXIT_ENABLED = enabled
16+
17+
@staticmethod
18+
def set_verbosity(verbosity: bool = True):
19+
Settings.VERBOSITY = verbosity

0 commit comments

Comments
 (0)