mpi_array.logging.LoggerFactory

class mpi_array.logging.LoggerFactory[source]

Bases: object

Factory for generating logging.Logger instances.

Methods

__init__()
get_formatter([prefix_string]) Returns logging.Formatter object which produces messages with time and prefix_string prefix.
get_rank_logger(name[, comm, ranks, rank_string]) Returns a logging.Logger object with time-stamp, comm.Get_name() and comm.Get_rank() in the message.
get_root_logger(name[, comm, root_rank]) Returns a logging.Logger object with time-stamp, comm.Get_name() and comm.Get_rank() in the message.