logger
oxytcmri.infrastructure.logger
¶
Logging configuration module for the package.
Functions:
Name | Description |
---|---|
setup_logging |
Set up logging configuration for the package. |
setup_logging(log_level='INFO', save_to_file=True, log_to_console=False)
¶
Set up logging configuration for the package.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
log_level
|
str
|
The logging level. |
'INFO'
|
save_to_file
|
bool
|
Whether to save logs to a file. |
True
|
log_to_console
|
bool
|
Whether to log to console. |
False
|
Source code in oxytcmri/infrastructure/logger.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
|