Skip to content

Commit f934c62

Browse files
committed
🎨 Changed LoggerLoader __init__ function's 'load_config_file' param name to => 'auto_config_file'.
1 parent 0931c9e commit f934c62

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

beans_logging/_base.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def __init__(
6363
self,
6464
config: Union[LoggerConfigPM, dict, None] = None,
6565
config_file_path: str = _CONFIG_FILE_PATH,
66-
load_config_file: bool = True,
66+
auto_config_file: bool = True,
6767
auto_load: bool = False,
6868
):
6969
"""LoggerLoader constructor method.
@@ -73,7 +73,7 @@ def __init__(
7373
dict,
7474
None ], optional): New logger config to update loaded config. Defaults to None.
7575
config_file_path (str , optional): Logger config file path. Defaults to `LoggerLoader._CONFIG_FILE_PATH`.
76-
load_config_file (bool , optional): Indicates whether to load logger config file or not. Defaults to True.
76+
auto_config_file (bool , optional): Indicates whether to load logger config file or not. Defaults to True.
7777
auto_load (bool , optional): Indicates whether to load logger handlers or not. Defaults to False.
7878
"""
7979

@@ -83,7 +83,7 @@ def __init__(
8383

8484
self._load_env_vars()
8585

86-
if load_config_file:
86+
if auto_config_file:
8787
self._load_config_file()
8888

8989
if config:

0 commit comments

Comments
 (0)