Logger
fyt.utils.logger
¶
generate_log_name()
¶
Generate logname concatenating timestamp, username and a random string.
setup_logger(path_serialization_dir=None)
¶
Setup the logger to log in the console, and optionally to a file.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
path_serialization_dir
|
Path | None
|
The directory where the log file will be saved. If None, only console logging is configured. |
None
|