logger

Logging functions.

Module Contents

Functions

get_logger

Get the logger with the associated name.

log_subtitle

Log with a subtitle.

log_title

Log with a title.

time_elapsed

How much time has elapsed since the search started.

Contents

evalml.utils.logger.get_logger(name)[source]

Get the logger with the associated name.

Parameters

name (str) – Name of the logger to get.

Returns

The logger object with the associated name.

evalml.utils.logger.log_subtitle(logger, title, underline='=')[source]

Log with a subtitle.

evalml.utils.logger.log_title(logger, title)[source]

Log with a title.

evalml.utils.logger.time_elapsed(start_time)[source]

How much time has elapsed since the search started.

Parameters

start_time (int) – Time when search started.

Returns

elapsed time formatted as a string [H:]MM:SS

Return type

str