rex.utilities.loggers.init_mult
- init_mult(name, logdir, modules, verbose=False, node=False)[source]
Init multiple loggers to a single file or stdout.
- Parameters:
name (str) – Job name; name of log file.
logdir (str) – Target directory to save .log files.
modules (list | tuple) – List of reV modules to initialize loggers for.
verbose (bool) – Option to turn on debug logging.
node (bool) – Flag for whether this is a node-level logger. If this is a node logger, and the log level is info, the log_file will be None (sent to stdout).
- Returns:
loggers (list) – List of logging instances that were initialized.