def set_logger(self, logger):
<EOL>try:<EOL><INDENT>self.library.set_logger.restype = None<EOL><DEDENT>except AttributeError:<EOL><INDENT>logger.warn("<STR_LIT>", self.engine)<EOL>return<EOL><DEDENT>self.library.set_logger.argtypes = [<EOL>(fortran_log_functype)]<EOL>self.library.set_logger(fortran_log_func)<EOL>
subscribe to fortran log messages