threeML.io.logging module¶
-
class
threeML.io.logging.
LoggingState
(threeML_usr_log_handler, threeML_console_log_handler, astromodels_usr_log_handler, astromodels_console_log_handler)[source]¶ Bases:
object
-
threeML.io.logging.
activate_warnings
()[source]¶ supress warning messages in console and file usr logs
-
threeML.io.logging.
get_path_of_log_dir
() → pathlib.Path[source]¶ get the path to the logging directory
-
threeML.io.logging.
get_path_of_log_file
(log_file: str) → pathlib.Path[source]¶ returns the path of the log files
-
threeML.io.logging.
silence_console_log
(and_progress_bars=True)[source]¶ temporarily silence the console and progress bars