logger ============================= .. py:module:: evalml.utils.logger .. autoapi-nested-parse:: Logging functions. Module Contents --------------- Functions ~~~~~~~~~ .. autoapisummary:: :nosignatures: evalml.utils.logger.get_logger evalml.utils.logger.log_batch_times evalml.utils.logger.log_subtitle evalml.utils.logger.log_title evalml.utils.logger.time_elapsed Contents ~~~~~~~~~~~~~~~~~~~ .. py:function:: get_logger(name) Get the logger with the associated name. :param name: Name of the logger to get. :type name: str :returns: The logger object with the associated name. .. py:function:: log_batch_times(logger, batch_times) Used to print out the batch times. :param logger: the logger. :param batch_times: dict with (batch number, {pipeline name, pipeline time}). .. py:function:: log_subtitle(logger, title, underline='=') Log with a subtitle. .. py:function:: log_title(logger, title) Log with a title. .. py:function:: time_elapsed(start_time) How much time has elapsed since the search started. :param start_time: Time when search started. :type start_time: int :returns: elapsed time formatted as a string [H:]MM:SS :rtype: str