(self, study_dir)
Initialize a logging Formatter with an appropriate format string.
Initialize a logging Formatter with an appropriate format string.
Initialize a logging Formatter with an appropriate format string .
def __init__(self, study_dir):
        """Initialize a logging Formatter with an appropriate format string."""
        super(ErrorFileFormatter, self).__init__(
            '>%(rel_filename)s | %(levelname)s: %(message)s\n%(line_string)s')
        self.study_dir = study_dir
def __init__ ( self , study_dir ) : super ( ErrorFileFormatter , self ) . __init__ ( '>%(rel_filename)s | %(levelname)s: %(message)s\n%(line_string)s' ) self . study_dir = study_dir