mpi_array.logging.LoggerFactory¶
-
class
mpi_array.logging.LoggerFactory[source]¶ Bases:
objectFactory for generating
logging.Loggerinstances.Methods
__init__()get_formatter([prefix_string])Returns logging.Formatterobject which produces messages with time andprefix_stringprefix.get_rank_logger(name[, comm, ranks, rank_string])Returns a logging.Loggerobject with time-stamp,comm.Get_name()andcomm.Get_rank()in the message.get_root_logger(name[, comm, root_rank])Returns a logging.Loggerobject with time-stamp,comm.Get_name()andcomm.Get_rank()in the message.